Skip to content

Commit 018f9fa

Browse files
Refactor service URLs to use printf and quote
1 parent 07fe96b commit 018f9fa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

deploy/helm/templates/web/configmap.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ metadata:
66
release: {{ .Release.Name }}
77
{{- toYaml .Values.web.config.labels | nindent 4 }}
88
data:
9-
COMMUNITY_SERVICE: {{ .Values.community.service.name }}:{{ .Values.community.port }}
10-
IDENTITY_SERVICE: {{ .Values.identity.service.name }}:{{ .Values.identity.port }}
11-
WORKSHOP_SERVICE: {{ .Values.workshop.service.name }}:{{ .Values.workshop.port }}
12-
CHATBOT_SERVICE: {{ .Values.chatbot.service.name }}:{{ .Values.chatbot.port }}
13-
MAILHOG_WEB_SERVICE: {{ .Values.mailhog.webService.name }}:{{ .Values.mailhog.webPort }}
9+
COMMUNITY_SERVICE: {{ printf "%s:%s" .Values.community.service.name .Values.community.port | quote }}
10+
IDENTITY_SERVICE: {{ printf "%s:%s" .Values.identity.service.name .Values.identity.port | quote }}
11+
WORKSHOP_SERVICE: {{ printf "%s:%s" .Values.workshop.service.name .Values.workshop.port | quote }}
12+
CHATBOT_SERVICE: {{ printf "%s:%s" .Values.chatbot.service.name .Values.chatbot.port | quote }}
13+
MAILHOG_WEB_SERVICE: {{ printf "%s:%s" .Values.mailhog.webService.name .Values.mailhog.webPort | quote }}
1414
TLS_ENABLED: {{ .Values.tlsEnabled | quote }}

0 commit comments

Comments
 (0)