19 lines
659 B
YAML
19 lines
659 B
YAML
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: {{ include "koor-operator.fullname" . }}-serving-cert
|
|
annotations:
|
|
"helm.sh/hook": post-install,post-upgrade
|
|
"helm.sh/hook-weight": "2"
|
|
labels:
|
|
{{- include "koor-operator.labels" . | nindent 4 }}
|
|
spec:
|
|
dnsNames:
|
|
- '{{ include "koor-operator.fullname" . }}-webhook-service.{{ .Release.Namespace
|
|
}}.svc'
|
|
- '{{ include "koor-operator.fullname" . }}-webhook-service.{{ .Release.Namespace
|
|
}}.svc.{{ .Values.kubernetesClusterDomain }}'
|
|
issuerRef:
|
|
kind: Issuer
|
|
name: '{{ include "koor-operator.fullname" . }}-selfsigned-issuer'
|
|
secretName: webhook-server-cert |