Skip to content

Commit

Permalink
Merge pull request #1819 from PatrickLaabs/1162
Browse files Browse the repository at this point in the history
🐛  CAPV CSI driver isn't passing TLS thumbprint
  • Loading branch information
k8s-ci-robot committed Jul 20, 2023
2 parents 9f4726b + 32a0e8e commit 901740c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/flavorgen/flavors/crs/csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func ConfigForCSI() *types.CPIConfig {
config := &types.CPIConfig{}

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

config.VCenter = map[string]types.CPIVCenterConfig{
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template-external-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template-ignition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template-node-ipam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template-topology.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
Expand Down

0 comments on commit 901740c

Please sign in to comment.