Skip to content

Commit

Permalink
jvb: quote jvb.publicIPs after joining
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Sep 30, 2024
1 parent 134b720 commit ba7f127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/jvb/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ spec:
{{- if or .Values.jvb.useNodeIP .Values.jvb.publicIPs }}
- name: DOCKER_HOST_ADDRESS
{{- if .Values.jvb.publicIPs }}
value: {{ first .Values.jvb.publicIPs }}
value: {{ first .Values.jvb.publicIPs | quote }}
{{- else }}
valueFrom:
fieldRef:
fieldPath: status.hostIP
{{- end }}
- name: JVB_ADVERTISE_IPS
{{- if .Values.jvb.publicIPs }}
value: {{ .Values.jvb.publicIPs | join "," }}
value: {{ .Values.jvb.publicIPs | join "," | quote }}
{{- else }}
valueFrom:
fieldRef:
Expand Down

0 comments on commit ba7f127

Please sign in to comment.