Make sure admission controller certificate exists

This commit is contained in:
Lauri Võsandi 2022-12-17 20:12:53 +02:00
parent 18cb5d5cae
commit 357705c02a

View File

@ -1,4 +1,3 @@
{{ if .Values.admissionController }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
@ -10,6 +9,7 @@ spec:
- admission-control.harbor-operator.svc
issuerRef:
name: harbor-operator
{{ if .Values.admissionController }}
---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration