Skip to content

Commit

Permalink
csi: remove cluster-id from config to let csi generate an id instead …
Browse files Browse the repository at this point in the history
…of hitting length limits
  • Loading branch information
chrischdi committed Feb 6, 2024
1 parent 73b3e90 commit d0bb2b2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions packaging/flavorgen/flavors/crs/csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
package crs

import (
"fmt"
"path"

"github.com/pkg/errors"
Expand Down Expand Up @@ -101,7 +100,6 @@ func CreateCrsResourceObjectsCSI(crs *addonsv1.ClusterResourceSet) ([]runtime.Ob
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

Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template-external-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
user = "${VSPHERE_USERNAME}"
Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template-ignition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
user = "${VSPHERE_USERNAME}"
Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template-node-ipam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
user = "${VSPHERE_USERNAME}"
Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template-topology.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
user = "${VSPHERE_USERNAME}"
Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ stringData:
csi-vsphere.conf: |+
[Global]
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
[VirtualCenter "${VSPHERE_SERVER}"]
user = "${VSPHERE_USERNAME}"
Expand Down

0 comments on commit d0bb2b2

Please sign in to comment.