Skip to content

Commit

Permalink
Remove node.kubernetes.io/exclude-from-external-load-balancers label …
Browse files Browse the repository at this point in the history
…for Cozystack

Signed-off-by: Andrei Kvapil <[email protected]>
  • Loading branch information
kvaps committed Jan 10, 2025
1 parent e09e85f commit 8981809
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/cozystack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{{- define "talos.config" }}
machine:
{{- if eq .MachineType "controlplane" }}
nodeLabels:
node.kubernetes.io/exclude-from-external-load-balancers:
$patch: delete
{{- end }}
type: {{ .MachineType }}
kubelet:
nodeIP:
Expand Down
5 changes: 5 additions & 0 deletions pkg/generated/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ upgradeOptions:
`,
"cozystack/templates/_helpers.tpl": `{{- define "talos.config" }}
machine:
{{- if eq .MachineType "controlplane" }}
nodeLabels:
node.kubernetes.io/exclude-from-external-load-balancers:
$patch: delete
{{- end }}
type: {{ .MachineType }}
kubelet:
nodeIP:
Expand Down

0 comments on commit 8981809

Please sign in to comment.