This repo is a collection of field provided custom capabilties to add additional functionality to tanzu Platform. These are not officially suppoprted by Tanzu.
- Gateway Api - used a as a workaround for TKGm clusters, see the readme for more details
- Deployments - this enabled the
deployments.apps.v1
api and theservices.v1
core k8s apis
Installing this repo will give access to all of the capabilties defined here.
- add the package repo to the project
tanzu project use <your-proj>
export KUBECONFIG=~/.config/tanzu/kube/config
kubectl apply -f capabilities-repo/package-repository.yml
To add a new capability follow the instructions below:
- create a new directory for the capability
- Add a README to the directory
- create a package directory in the folder
mycapability-package
- init a carvel package in the directory
cd mycapability-package kctrl package init
- add the capability contents to the package
- release the package
kctrl package release --version 1.0.0 --repo-output ../../capabilities-repo
- publish a new version of the repo
cd ../../capabilities-repo kctrl package repo release -v 1.0.0