2021-05-05 16:35:43 +00:00
|
|
|
{{- if .Values.rabbitmq.auth.tls.enabled }}
|
2021-07-29 11:50:16 +00:00
|
|
|
apiVersion: cert-manager.io/v1
|
2021-05-05 16:35:43 +00:00
|
|
|
kind: Certificate
|
|
|
|
metadata:
|
|
|
|
name: rabbitmq-server-certificate
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
labels:
|
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
|
|
|
spec:
|
|
|
|
secretName: rabbitmq-server-certificate
|
|
|
|
issuerRef:
|
|
|
|
name: letsencrypt-dns-prod
|
|
|
|
kind: ClusterIssuer
|
|
|
|
dnsNames:
|
|
|
|
{{ toYaml .Values.rabbitmq.hosts | indent 2 }}
|
|
|
|
{{- end }}
|