We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f4fca commit 014ce71Copy full SHA for 014ce71
helm/kube-image-keeper/templates/webhook-certificate.yaml
@@ -8,7 +8,12 @@ spec:
8
- {{ include "kube-image-keeper.fullname" . }}-webhook.{{ .Release.Namespace }}.svc.cluster.local
9
secretName: {{ include "kube-image-keeper.fullname" . }}-webhook-server-cert
10
issuerRef:
11
+ {{- if .Values.controllers.webhook.createCertificateIssuer }}
12
+ kind: Issuer
13
+ name: {{ include "kube-image-keeper.fullname" . }}-selfsigned-issuer
14
+ {{- else -}}
15
{{- toYaml .Values.controllers.webhook.certificateIssuerRef | nindent 4 }}
16
+ {{- end }}
17
---
18
{{- if .Values.controllers.webhook.createCertificateIssuer }}
19
apiVersion: cert-manager.io/v1
0 commit comments