diff --git a/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall-pkgi.yaml b/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall-pkgi.yaml new file mode 100644 index 0000000..1e8b21d --- /dev/null +++ b/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall-pkgi.yaml @@ -0,0 +1,19 @@ +#@ load("@ytt:data", "data") +--- +apiVersion: v1 +kind: Secret +metadata: + name: make-tmc-xsmall-pkgi + namespace: #@ data.values.tp.namespace +stringData: + make-tmc-xsmall-pkgi.yaml: | + #! By default TP will automatically put PVCs into orphan status, but for PoC this will lead to PVC not being deleted after uninstall + #@ load("@ytt:overlay", "overlay") + + #@overlay/match by=overlay.subset({"kind": "PackageInstall"}), expects="1+" + --- + metadata: + #@overlay/match missing_ok=True + annotations: + #@overlay/match missing_ok=True + ext.packaging.carvel.dev/ytt-paths-from-secret-name.9: make-tmc-xsmall-secret \ No newline at end of file diff --git a/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall.yaml b/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall.yaml index 5a979a7..311f20f 100644 --- a/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall.yaml +++ b/manifests/tpk8s-opinionated.tanzu.japan.com/10.0.0/hacks/make-tmc-xsmall.yaml @@ -16,4 +16,4 @@ stringData: #@overlay/match missing_ok=True annotations: #@overlay/match missing_ok=True - ext.packaging.carvel.dev/ytt-paths-from-secret-name.9: make-tmc-xsmall-secret \ No newline at end of file + ext.packaging.carvel.dev/ytt-paths-from-secret-name.9: make-tmc-xsmall-pkgi \ No newline at end of file