Skip to content

Commit 6535f9d

Browse files
authored
Merge pull request #1971 from kube-logging/fix/chart-clusterdomain
fix(chart): correct path for clusterdomain
2 parents 36e4b00 + 41e8678 commit 6535f9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/logging-operator/templates/_helpers.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
6666

6767
{{/*
6868
Formats the cluster domain as a suffix, e.g.:
69-
.Values.clusterDomain == "", returns ""
70-
.Values.clusterDomain == "cluster.local.", returns ".cluster.local."
69+
.Values.logging.clusterDomain == "", returns ""
70+
.Values.logging.clusterDomain == "cluster.local.", returns ".cluster.local."
7171
*/}}
7272
{{- define "logging-operator.clusterDomainAsSuffix" -}}
73-
{{- if .Values.clusterDomain -}}
74-
{{- printf ".%s" .Values.clusterDomain -}}
73+
{{- if .Values.logging.clusterDomain -}}
74+
{{- printf ".%s" .Values.logging.clusterDomain -}}
7575
{{- end -}}
7676
{{- end -}}

0 commit comments

Comments
 (0)