remove app.kubernetes.io/instance: cert-manager label from cert-manager CRD

This commit is contained in:
Mans Ziesel 2024-10-13 19:06:54 +02:00
parent cfde58f5e1
commit 556ceb843b
2 changed files with 9 additions and 0 deletions

View File

@ -6,3 +6,9 @@ namespace: cert-manager
resources: resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- ./base/mziesel-ca.yaml - ./base/mziesel-ca.yaml
patches:
- path: ./remove-instance-label.jsonpatch.yaml
target:
kind: CustomResourceDefinition
labelSelector: app.kubernetes.io/instance=cert-manager

View File

@ -0,0 +1,3 @@
---
- op: remove
path: /metadata/labels/app.kubernetes.io~1instance