Skip to content

Commit 1f04b72

Browse files
committed
build: remove certSANs
1 parent bbcb774 commit 1f04b72

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

charts/cluster-api-runtime-extensions-nutanix/defaultclusterclasses/nutanix-cluster-class.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ spec:
122122
kubeadmConfigSpec:
123123
clusterConfiguration:
124124
apiServer:
125-
certSANs:
126-
- localhost
127-
- 127.0.0.1
128-
- 0.0.0.0
129125
extraArgs:
130126
cloud-provider: external
131127
tls-cipher-suites: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

hack/examples/bases/nutanix/clusterclass/kustomization.yaml.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ patches:
3030
- op: "remove"
3131
path: "/spec/variables"
3232

33+
- target:
34+
kind: KubeadmControlPlaneTemplate
35+
patch: |-
36+
- op: "remove"
37+
path: "/spec/template/spec/kubeadmConfigSpec/clusterConfiguration/apiServer/certSANs"
38+
3339
# FIXME: Debug why some of the patches are needed.
3440
# When the handler runs, it sends back multiple patches for individual fields.
3541
# But CAPI fails applying them because of missing value.

0 commit comments

Comments
 (0)