Skip to content

Commit

Permalink
Add managedSubnets only for non-kube-vip apiserver_loadbalancer
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
  • Loading branch information
chess-knight committed Sep 10, 2024
1 parent 373f560 commit 2c7fb75
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ cre ate group names like oidc:engineering and oidc:infra."
matchResources:
infrastructureCluster: true
jsonPatches:
- op: replace
- op: add
path: "/spec/template/spec/managedSubnets"
valueFrom:
template: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,3 @@ spec:
portRangeMax: 4244
protocol: tcp
description: "Allow Hubble traffic for Cilium"
managedSubnets:
- cidr: {{ .Values.node_cidr }}
dnsNameservers:
{{- range .Values.dns_nameservers }}
- {{ . }}
{{- end }}
4 changes: 0 additions & 4 deletions providers/openstack/scs/cluster-class/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# mirrored from variables.tf
dns_nameservers:
- 5.1.66.255
- 185.150.99.255
controller_flavor: SCS-2V-4-20
worker_flavor: SCS-2V-4-20
node_cidr: 10.8.0.0/20
restrict_kubeapi: []

# newly introduced:
Expand Down

0 comments on commit 2c7fb75

Please sign in to comment.