2022-10-26 06:48:21 +00:00
|
|
|
{{- if .Values.certs.certificate.create }}
|
|
|
|
apiVersion: cert-manager.io/v1
|
|
|
|
kind: Certificate
|
|
|
|
metadata:
|
|
|
|
name: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
spec:
|
|
|
|
dnsNames:
|
|
|
|
- "{{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}.{{ .Release.Namespace }}.svc"
|
|
|
|
- "{{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}.{{ .Release.Namespace }}.svc.cluster.local"
|
|
|
|
issuerRef:
|
2023-02-22 15:04:28 +00:00
|
|
|
{{- if .Values.certs.issuer.create }}
|
2022-10-26 06:48:21 +00:00
|
|
|
kind: Issuer
|
2023-02-22 15:04:28 +00:00
|
|
|
{{- else }}
|
|
|
|
kind: {{ .Values.certs.certificate.issuerKind }}
|
|
|
|
{{- end }}
|
2022-10-26 06:48:21 +00:00
|
|
|
name: {{ default "selfsigned-issuer" .Values.certs.issuer.name }}
|
|
|
|
secretName: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
|
|
|
|
subject:
|
|
|
|
organizationalUnits:
|
|
|
|
- "{{ include "jaeger-operator.name" . }}"
|
|
|
|
{{- end }}
|