From cde98938a99713d6b69869da54fb00861c8f017d Mon Sep 17 00:00:00 2001 From: Lutz Behnke Date: Mon, 2 Aug 2021 10:56:10 +0200 Subject: [PATCH] put ip addr for localhost (127.0.0.1) into more specific field. --- cockroachdb/templates/certificate.node.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cockroachdb/templates/certificate.node.yaml b/cockroachdb/templates/certificate.node.yaml index 90d16b96..a0d3bcd6 100644 --- a/cockroachdb/templates/certificate.node.yaml +++ b/cockroachdb/templates/certificate.node.yaml @@ -27,13 +27,14 @@ spec: - Cockroach dnsNames: - "localhost" - - "127.0.0.1" - {{ printf "%s-public" (include "cockroachdb.fullname" .) | quote }} - {{ printf "%s-public.%s" (include "cockroachdb.fullname" .) .Release.Namespace | quote }} - {{ printf "%s-public.%s.svc.%s" (include "cockroachdb.fullname" .) .Release.Namespace .Values.clusterDomain | quote }} - {{ printf "*.%s" (include "cockroachdb.fullname" .) | quote }} - {{ printf "*.%s.%s" (include "cockroachdb.fullname" .) .Release.Namespace | quote }} - {{ printf "*.%s.%s.svc.%s" (include "cockroachdb.fullname" .) .Release.Namespace .Values.clusterDomain | quote }} + ipAddresses: + - "127.0.0.1" secretName: {{ .Values.tls.certs.nodeSecret }} issuerRef: {{- toYaml .Values.tls.certs.certManagerIssuer | nindent 4 }} -{{- end }} \ No newline at end of file +{{- end }}