Skip to content

Commit

Permalink
Only set vip for controlplane nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Kingdon Barrett <[email protected]>
  • Loading branch information
kingdonb committed Jun 3, 2024
1 parent 71dacec commit eb250c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/cozystack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ machine:
routes:
- network: 0.0.0.0/0
gateway: {{ include "talm.discovered.default_gateway" . }}
{{- with .Values.floatingIP }}
{{- if eq .MachineType "controlplane" }}{{ with .Values.floatingIP }}
vip:
ip: {{ . }}
{{- end }}
{{- end }}{{ end }}


cluster:
Expand Down

0 comments on commit eb250c7

Please sign in to comment.