airshipctl/manifests/site/test-site/kubeconfig/kustomization.yaml
Alexey Odinokov b927934b8c Switching to the approach with cleanup by selector
Previously we needed to delete each catalogue separatelly.
After bumping to new kustoimize 3.9.2 it's started to be
possible to use patching of several documents by selector [1],
that can be kind, name, label &etc

[1]
https://github.com/kubernetes-sigs/kustomize/blob/master/examples/patchMultipleObjects.md
+
https://github.com/kubernetes-sigs/kustomize/issues/2945

Change-Id: Ic6a2d2a4716ab0304872c4aad196a7259e58aa53
2021-04-14 15:44:51 +00:00

8 lines
136 B
YAML

resources:
- kubeconfig.yaml
- ../target/catalogues
transformers:
- update-target.yaml
- ../../../function/airshipctl-cleanup/