use globals.domain instead of common in case we refactor later

This commit is contained in:
Mitchell Hashimoto 2018-09-02 16:19:45 -07:00
parent 3a61646b1d
commit d2558a0be3
No known key found for this signature in database
GPG key ID: 744E147AA52F5B0A
3 changed files with 2 additions and 3 deletions

View file

@ -70,7 +70,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
-domain={{ .Values.common.domain }}
-domain={{ .Values.global.domain }}
volumeMounts:
- name: data
mountPath: /consul/data

View file

@ -77,7 +77,7 @@ spec:
-config-dir=/consul/config \
-datacenter={{ .Values.server.datacenter }} \
-data-dir=/consul/data \
-domain={{ .Values.common.domain }} \
-domain={{ .Values.global.domain }} \
{{- if .Values.server.connect }}
-hcl="connect { enabled = true }" \
{{- end }}

View file

@ -11,7 +11,6 @@ global:
# value.
enabled: true
common:
# Domain to register the Consul DNS server to listen for.
domain: consul