diff --git a/charts/temporal/templates/_helpers.tpl b/charts/temporal/templates/_helpers.tpl index 0862ac4a..35897f9e 100644 --- a/charts/temporal/templates/_helpers.tpl +++ b/charts/temporal/templates/_helpers.tpl @@ -350,7 +350,7 @@ All Cassandra hosts. {{- define "cassandra.hosts" -}} {{- range $i := (until (int .Values.cassandra.config.cluster_size)) }} {{- $cassandraName := include "call-nested" (list $ "cassandra" "cassandra.fullname") -}} -{{- printf "%s.%s.svc," $cassandraName $.Release.Namespace -}} +{{- printf "%s.%s.svc.cluster.local," $cassandraName $.Release.Namespace -}} {{- end }} {{- end -}} @@ -359,7 +359,7 @@ The first Cassandra host in the stateful set. */}} {{- define "cassandra.host" -}} {{- $cassandraName := include "call-nested" (list . "cassandra" "cassandra.fullname") -}} -{{- printf "%s.%s.svc" $cassandraName .Release.Namespace -}} +{{- printf "%s.%s.svc.cluster.local" $cassandraName .Release.Namespace -}} {{- end -}} {{/* diff --git a/charts/temporal/values/values.cassandra.yaml b/charts/temporal/values/values.cassandra.yaml index 03db1111..8c9f532a 100644 --- a/charts/temporal/values/values.cassandra.yaml +++ b/charts/temporal/values/values.cassandra.yaml @@ -27,7 +27,7 @@ server: # ResourceExhausted: 0.15 cassandra: - hosts: ["cassandra.default.svc"] + hosts: ["cassandra.default.svc.cluster.local"] port: 9042 keyspace: temporal user: "user"