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 apiVersion: cert-manager.io/v1
kind: Certificate kind: Certificate
@ -10,6 +9,7 @@ spec:
- admission-control.harbor-operator.svc - admission-control.harbor-operator.svc
issuerRef: issuerRef:
name: harbor-operator name: harbor-operator
{{ if .Values.admissionController }}
--- ---
apiVersion: admissionregistration.k8s.io/v1 apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration kind: MutatingWebhookConfiguration