Skip to content

Commit

Permalink
Use namespace environment variable instead of helm (hashicorp#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehmoon authored Jun 29, 2020
1 parent a2bf66f commit 429899d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/tls-init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ spec:
{{- end }}
-additional-dnsname='{{ template "consul.fullname" . }}-server' \
-additional-dnsname='*.{{ template "consul.fullname" . }}-server' \
-additional-dnsname='*.{{ template "consul.fullname" . }}-server.{{ .Release.Namespace }}' \
-additional-dnsname='*.{{ template "consul.fullname" . }}-server.{{ .Release.Namespace }}.svc' \
-additional-dnsname="'*.{{ template "consul.fullname" . }}-server.${NAMESPACE}'" \
-additional-dnsname="'*.{{ template "consul.fullname" . }}-server.${NAMESPACE}.svc'" \
-additional-dnsname='*.server.{{ .Values.global.datacenter }}.{{ .Values.global.domain }}' \
{{- range .Values.global.tls.serverAdditionalIPSANs }}
-additional-ipaddress={{ . }} \
Expand Down

0 comments on commit 429899d

Please sign in to comment.