Skip to content

Commit 2a7efdd

Browse files
authored
Fix rendering for --datacenter option. (#871)
1 parent d0db258 commit 2a7efdd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

charts/temporal/templates/server-job.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ spec:
3737
image: "{{ $.Values.admintools.image.repository }}:{{ $.Values.admintools.image.tag }}"
3838
imagePullPolicy: {{ $.Values.admintools.image.pullPolicy }}
3939
{{- if eq $store.driver "cassandra" }}
40-
command: ['temporal-cassandra-tool', 'create', '-k', '{{ $store.config.keyspace }}', '--replication-factor', '{{ $store.config.replicationFactor | default 1 }}'{{- if $store.config.datacenter }}, '--
41-
datacenter', '{{ $store.config.datacenter }}'{{- end }}]
40+
command: ['temporal-cassandra-tool', 'create', '-k', '{{ $store.config.keyspace }}', '--replication-factor', '{{ $store.config.replicationFactor | default 1 }}'{{- if $store.config.datacenter }}, '--datacenter', '{{ $store.config.datacenter }}'{{- end }}]
4241
{{- else if eq $store.driver "sql" }}
4342
command: ['temporal-sql-tool', 'create-database']
4443
{{- else -}}

0 commit comments

Comments
 (0)