diff --git a/providers/openstack/scs/cluster-class/templates/cluster-class.yaml b/providers/openstack/scs/cluster-class/templates/cluster-class.yaml index e710a2ea..071935c0 100644 --- a/providers/openstack/scs/cluster-class/templates/cluster-class.yaml +++ b/providers/openstack/scs/cluster-class/templates/cluster-class.yaml @@ -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: | diff --git a/providers/openstack/scs/cluster-class/templates/openstack-cluster-template.yaml b/providers/openstack/scs/cluster-class/templates/openstack-cluster-template.yaml index cb9b3e60..ce689a2a 100644 --- a/providers/openstack/scs/cluster-class/templates/openstack-cluster-template.yaml +++ b/providers/openstack/scs/cluster-class/templates/openstack-cluster-template.yaml @@ -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 }} diff --git a/providers/openstack/scs/cluster-class/values.yaml b/providers/openstack/scs/cluster-class/values.yaml index 6e723216..ba9dd876 100644 --- a/providers/openstack/scs/cluster-class/values.yaml +++ b/providers/openstack/scs/cluster-class/values.yaml @@ -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: