2023-02-07 14:35:29 +00:00
|
|
|
apiVersion: cert-manager.io/v1
|
|
|
|
kind: Certificate
|
|
|
|
metadata:
|
|
|
|
labels:
|
2023-02-22 15:04:28 +00:00
|
|
|
{{- $data := . | mustMergeOverwrite (dict "component" "certificate") -}}
|
|
|
|
{{- include "kamaji.labels" $data | nindent 4 }}
|
2023-02-07 14:35:29 +00:00
|
|
|
name: {{ include "kamaji.certificateName" . }}
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
spec:
|
|
|
|
dnsNames:
|
|
|
|
- {{ include "kamaji.webhookServiceName" . }}.{{ .Release.Namespace }}.svc
|
|
|
|
- {{ include "kamaji.webhookServiceName" . }}.{{ .Release.Namespace }}.svc.cluster.local
|
|
|
|
issuerRef:
|
|
|
|
kind: Issuer
|
|
|
|
name: kamaji-selfsigned-issuer
|
|
|
|
secretName: {{ include "kamaji.webhookSecretName" . }}
|