Skip to content

Commit 542a8c5

Browse files
authored
Move cert-manager.io patch into tls component (#372)
Signed-off-by: Todd Short <[email protected]>
1 parent 074ec55 commit 542a8c5

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

config/base/manager/webhook/patch.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@
88
- op: add
99
path: /webhooks/0/clientConfig/service/port
1010
value: 443
11-
- op: add
12-
path: /metadata/annotations/cert-manager.io~1inject-ca-from-secret
13-
value: cert-manager/olmv1-ca

config/components/tls/kustomization.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ patches:
1313
kind: Deployment
1414
name: controller-manager
1515
path: patches/manager_deployment_certs.yaml
16+
- target:
17+
group: admissionregistration.k8s.io
18+
kind: MutatingWebhookConfiguration
19+
name: mutating-webhook-configuration
20+
version: v1
21+
path: patches/catalogd_webhook.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- op: add
2+
path: /metadata/annotations/cert-manager.io~1inject-ca-from-secret
3+
value: cert-manager/olmv1-ca

0 commit comments

Comments
 (0)