Skip to content

Commit

Permalink
Removed Insecure-Flag changes, keeping Thumbprint passing and added T…
Browse files Browse the repository at this point in the history
…humbprint passing to node-ipam-template

Author:    PatrickLaabs <patrick.laabs@me.de>
  • Loading branch information
Patrick Laabs authored and PatrickLaabs committed Apr 28, 2023
1 parent 55b88a2 commit ed71c08
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packaging/flavorgen/flavors/crs/csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ func ConfigForCSI() *types.CPIConfig {

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

config.VCenter = map[string]types.CPIVCenterConfig{
Expand Down
1 change: 0 additions & 1 deletion packaging/flavorgen/flavors/env/envsubts_consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ const (
VSphereUsername = "${VSPHERE_USERNAME}"
VSpherePassword = "${VSPHERE_PASSWORD}" /* #nosec */
ClusterResourceSetNameSuffix = "-crs-0"
VSphereInsecure = true
)
1 change: 0 additions & 1 deletion templates/cluster-template-external-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
insecure-flag = true
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
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 @@ -533,7 +533,6 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
insecure-flag = true
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
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: 0 additions & 1 deletion templates/cluster-template-topology.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
insecure-flag = true
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
Expand Down
1 change: 0 additions & 1 deletion templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ stringData:
stringData:
csi-vsphere.conf: |+
[Global]
insecure-flag = true
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
Expand Down

0 comments on commit ed71c08

Please sign in to comment.