diff --git a/charts/temporal/templates/web-deployment.yaml b/charts/temporal/templates/web-deployment.yaml index f1530c2b..6c7b3d48 100644 --- a/charts/temporal/templates/web-deployment.yaml +++ b/charts/temporal/templates/web-deployment.yaml @@ -36,7 +36,11 @@ spec: imagePullPolicy: {{ .Values.web.image.pullPolicy }} env: - name: TEMPORAL_ADDRESS + {{- if and (hasKey .Values.server "internalFrontend") .Values.server.internalFrontend.enabled .Values.web.useInternalFrontend }} + value: "{{ include "temporal.fullname" $ }}-internal-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.internalFrontend.service.port }}" + {{- else }} value: "{{ include "temporal.fullname" $ }}-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.frontend.service.port }}" + {{- end }} {{- if .Values.web.additionalEnv }} {{- toYaml .Values.web.additionalEnv | nindent 12 }} {{- end }} diff --git a/charts/temporal/values.yaml b/charts/temporal/values.yaml index 97050e02..d5a4c14c 100644 --- a/charts/temporal/values.yaml +++ b/charts/temporal/values.yaml @@ -436,6 +436,7 @@ web: securityContext: {} topologySpreadConstraints: [] podDisruptionBudget: {} + useInternalFrontend: false schema: createDatabase: enabled: true