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 e892899
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,9 +39,9 @@ machine:
routes:
- network: 0.0.0.0/0
gateway: {{ include "talm.discovered.default_gateway" . }}
{{- with .Values.floatingIP }}
{{- with .Values.floatingIP }}{{ if eq .MachineType "controlplane" }}
vip:
ip: {{ . }}
ip: {{ . }}{{ end }}
{{- end }}


Expand Down

0 comments on commit e892899

Please sign in to comment.