You can customize your package configuration that is not exposed through data values by using annotations and ytt overlays.
You can customize a package that was installed manually or that was installed by using a Tanzu Application Platform profile.
To customize a package that was installed manually:
secret.yml file with a
Secret that contains your ytt overlay. For example:
For more information about ytt overlays, see the Carvel documentation.
Secret to your cluster by running:
kubectl apply -f secret.yml
PackageInstall to include the
ext.packaging.carvel.dev/ytt-paths-from-secret-name.x annotation to reference your new overlay
Secret. For example:
You can suffix the extension annotation with
xis a number, to apply multiple overlays. For more information, see the Carvel documentation.
To add an overlay to a package that was installed by using a Tanzu Application Platform profile:
Secret with your ytt overlay. For more information about ytt overlays, see the Carvel documentation.
Update your values file to include a
- name: PACKAGE-NAME
- name: SECRET-NAME
PACKAGE-NAME is the target package for the overlay. For example,
Update Tanzu Application Platform by running:
tanzu package installed update tap -p tap.tanzu.vmware.com -v 1.7.4 --values-file tap-values.yaml -n tap-install
For information about Tanzu Application Platform profiles, see Installing Tanzu Application Platform package and profiles.