Skip to content

Commit

Permalink
Add a fail-safe trigger when no JVB IPs are specified at all
Browse files Browse the repository at this point in the history
  • Loading branch information
spijet committed Apr 22, 2024
1 parent 786fe00 commit 4cfa780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/jvb/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ spec:
fieldRef:
fieldPath: status.hostIP
{{- end }}
{{- else }}
{{- fail "(jvb.publicIPs | jvb.useNodeIP) Please set an external IP addresses for JVB(s) or enable the Node IP autodetection!" }}
{{- end }}
{{- if .Values.websockets.colibri.enabled }}
- name: JVB_WS_SERVER_ID
Expand Down

0 comments on commit 4cfa780

Please sign in to comment.