diff --git a/cert-manager/kustomization.yaml b/cert-manager/kustomization.yaml index 2b8efbc..56ff7dc 100644 --- a/cert-manager/kustomization.yaml +++ b/cert-manager/kustomization.yaml @@ -6,3 +6,9 @@ namespace: cert-manager resources: - https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml - ./base/mziesel-ca.yaml + +patches: + - path: ./remove-instance-label.jsonpatch.yaml + target: + kind: CustomResourceDefinition + labelSelector: app.kubernetes.io/instance=cert-manager diff --git a/cert-manager/remove-instance-label.jsonpatch.yaml b/cert-manager/remove-instance-label.jsonpatch.yaml new file mode 100644 index 0000000..60ae190 --- /dev/null +++ b/cert-manager/remove-instance-label.jsonpatch.yaml @@ -0,0 +1,3 @@ +--- +- op: remove + path: /metadata/labels/app.kubernetes.io~1instance