Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix kube-vip apiserver load balancer #175

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ cre ate group names like oidc:engineering and oidc:infra."
matchResources:
infrastructureCluster: true
jsonPatches:
- op: add
- op: replace
path: "/spec/template/spec/apiServerLoadBalancer/enabled"
value: true
- op: add
Expand All @@ -371,7 +371,7 @@ cre ate group names like oidc:engineering and oidc:infra."
matchResources:
infrastructureCluster: true
jsonPatches:
- op: add
- op: replace
path: "/spec/template/spec/apiServerLoadBalancer/enabled"
value: true
- op: add
Expand Down 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 }}
6 changes: 1 addition & 5 deletions providers/openstack/scs/cluster-class/values.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# 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:
openstack_loadbalancer_apiserver: true
openstack_loadbalancer_apiserver: false

# TBD, currently needed:
images:
Expand Down