Last active
May 2, 2024 16:41
-
-
Save x95castle1/2b90deabe625d614669413e111bdeae3 to your computer and use it in GitHub Desktop.
Add Downgradable to all Packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@ def match_packageinstall(): | |
kind: PackageInstall | |
#@ end | |
#@overlay/match by=overlay.subset(match_packageinstall()), expects="1+" | |
--- | |
metadata: | |
#@overlay/match missing_ok=True | |
annotations: | |
#@overlay/match missing_ok=True | |
packaging.carvel.dev/downgradable: "" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: packaging.carvel.dev/v1alpha1 | |
kind: PackageInstall | |
metadata: | |
name: tap | |
namespace: tap-install | |
spec: | |
packageRef: | |
refName: tap.tanzu.vmware.com | |
versionSelection: | |
constraints: 1.6.8 | |
serviceAccountName: tap-installer-sa | |
values: | |
- secretRef: | |
name: tap-values | |
- secretRef: | |
name: tap-sensitive-values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment