Skip to content

Commit

Permalink
Merge pull request #8 from kingdonb/fix-7
Browse files Browse the repository at this point in the history
Only set vip for controlplane nodes
  • Loading branch information
kvaps authored Jun 3, 2024
2 parents 71dacec + eb250c7 commit 80a1eb1
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 80a1eb1

Please sign in to comment.