added commonName to the rabbitmq-operator certificate when using cert-manager (#11133)

Signed-off-by: Eugen Fohlenweider <eugen.fohlenweider@hotmail.com>
This commit is contained in:
EugenFo
2022-07-15 12:35:20 +02:00
committed by GitHub
parent 8b90600a62
commit 96d5db1dad
2 changed files with 2 additions and 1 deletions

View File

@@ -26,4 +26,4 @@ name: rabbitmq-cluster-operator
sources:
- https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator
- https://github.com/rabbitmq/cluster-operator
version: 2.6.8
version: 2.6.9

View File

@@ -14,6 +14,7 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
commonName: {{ template "rmqco.msgTopologyOperator.webhook.fullname" . }}
dnsNames:
- {{ printf "%s.%s.svc" (include "rmqco.msgTopologyOperator.webhook.fullname" .) (include "common.names.namespace" .) }}
- {{ printf "%s.%s.svc.%s" (include "rmqco.msgTopologyOperator.webhook.fullname" .) (include "common.names.namespace" .) .Values.clusterDomain }}