This repo is a collection of field provided custom capabilties to add additional functionality to tanzu Platform. These are not officially suppoprted by Tanzu.
Deployments - this enabled the deployments.apps.v1
api and the services.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
- add the package repo to the cluster group(this is only needed until the next release of TP, instructions will be updated after the release)
tanzu ops clustergroup use <your-cg>
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