Skip to content

Commit ebf6967

Browse files
committed
fix: add bool value to keep non breaking on internal frontend usage by web ui
Signed-off-by: David Sabatie <david.sabatie@notrenet.com>
1 parent 364b654 commit ebf6967

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

charts/temporal/templates/web-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
imagePullPolicy: {{ .Values.web.image.pullPolicy }}
3737
env:
3838
- name: TEMPORAL_ADDRESS
39-
{{- if and (hasKey .Values.server "internalFrontend") .Values.server.internalFrontend.enabled }}
39+
{{- if and (hasKey .Values.server "internalFrontend") .Values.server.internalFrontend.enabled .Values.web.useInternalFrontend }}
4040
value: "{{ include "temporal.fullname" $ }}-internal-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.internalFrontend.service.port }}"
4141
{{- else }}
4242
value: "{{ include "temporal.fullname" $ }}-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.frontend.service.port }}"

charts/temporal/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ web:
436436
securityContext: {}
437437
topologySpreadConstraints: []
438438
podDisruptionBudget: {}
439+
useInternalFrontend: false
439440
schema:
440441
createDatabase:
441442
enabled: true

0 commit comments

Comments
 (0)