Skip to content

Commit 901740c

Browse files
authored
Merge pull request #1819 from PatrickLaabs/1162
🐛 CAPV CSI driver isn't passing TLS thumbprint
2 parents 9f4726b + 32a0e8e commit 901740c

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

packaging/flavorgen/flavors/crs/csi.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ func ConfigForCSI() *types.CPIConfig {
128128
config := &types.CPIConfig{}
129129

130130
config.Global.ClusterID = fmt.Sprintf("%s/%s", env.NamespaceVar, env.ClusterNameVar)
131+
config.Global.Thumbprint = env.VSphereThumbprint
131132
config.Network.Name = env.VSphereNetworkVar
132133

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

templates/cluster-template-external-loadbalancer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ stringData:
390390
stringData:
391391
csi-vsphere.conf: |+
392392
[Global]
393+
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
393394
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
394395
395396
[VirtualCenter "${VSPHERE_SERVER}"]

templates/cluster-template-ignition.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ stringData:
533533
stringData:
534534
csi-vsphere.conf: |+
535535
[Global]
536+
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
536537
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
537538
538539
[VirtualCenter "${VSPHERE_SERVER}"]

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ stringData:
285285
stringData:
286286
csi-vsphere.conf: |+
287287
[Global]
288+
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
288289
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
289290
290291
[VirtualCenter "${VSPHERE_SERVER}"]

templates/cluster-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ stringData:
446446
stringData:
447447
csi-vsphere.conf: |+
448448
[Global]
449+
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
449450
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
450451
451452
[VirtualCenter "${VSPHERE_SERVER}"]

0 commit comments

Comments
 (0)