Skip to content

Commit

Permalink
Merge pull request #138 from roobre/public-ips-quote
Browse files Browse the repository at this point in the history
jvb: quote jvb.publicIPs after joining
  • Loading branch information
spijet authored Oct 8, 2024
2 parents 42a74f1 + ba7f127 commit 7190c95
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 7190c95

Please sign in to comment.