Skip to content

Commit 32a0e8e

Browse files
committed
Removed Insecure-Flag changes, keeping Thumbprint passing and added Thumbprint passing to node-ipam-template
Author: PatrickLaabs <[email protected]>
1 parent 55b88a2 commit 32a0e8e

File tree

7 files changed

+1
-6
lines changed

7 files changed

+1
-6
lines changed

packaging/flavorgen/flavors/crs/csi.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ func ConfigForCSI() *types.CPIConfig {
129129

130130
config.Global.ClusterID = fmt.Sprintf("%s/%s", env.NamespaceVar, env.ClusterNameVar)
131131
config.Global.Thumbprint = env.VSphereThumbprint
132-
config.Global.Insecure = env.VSphereInsecure
133132
config.Network.Name = env.VSphereNetworkVar
134133

135134
config.VCenter = map[string]types.CPIVCenterConfig{

packaging/flavorgen/flavors/env/envsubts_consts.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ const (
5151
VSphereUsername = "${VSPHERE_USERNAME}"
5252
VSpherePassword = "${VSPHERE_PASSWORD}" /* #nosec */
5353
ClusterResourceSetNameSuffix = "-crs-0"
54-
VSphereInsecure = true
5554
)

templates/cluster-template-external-loadbalancer.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ stringData:
390390
stringData:
391391
csi-vsphere.conf: |+
392392
[Global]
393-
insecure-flag = true
394393
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
395394
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
396395

templates/cluster-template-ignition.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,6 @@ stringData:
533533
stringData:
534534
csi-vsphere.conf: |+
535535
[Global]
536-
insecure-flag = true
537536
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
538537
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
539538

templates/cluster-template-node-ipam.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ stringData:
456456
stringData:
457457
csi-vsphere.conf: |+
458458
[Global]
459+
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
459460
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
460461
461462
[VirtualCenter "${VSPHERE_SERVER}"]

templates/cluster-template-topology.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ stringData:
285285
stringData:
286286
csi-vsphere.conf: |+
287287
[Global]
288-
insecure-flag = true
289288
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
290289
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
291290

templates/cluster-template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ stringData:
446446
stringData:
447447
csi-vsphere.conf: |+
448448
[Global]
449-
insecure-flag = true
450449
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
451450
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
452451

0 commit comments

Comments
 (0)