Skip to content

Commit 9e63291

Browse files
Merge pull request openshift#8053 from jcpowermac/capv-creds-file
SPLAT-1462: capv - Remove unneeded auth env vars
2 parents 5f466c2 + cf98bd5 commit 9e63291

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/clusterapi/system.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ func (c *system) Run(ctx context.Context, installConfig *installconfig.InstallCo
193193
case nutanix.Name:
194194
// TODO
195195
case vsphere.Name:
196-
vcenters := installConfig.Config.VSphere.VCenters
197-
198196
controllers = append(controllers,
199197
c.getInfrastructureController(
200198
&VSphere,
@@ -207,8 +205,6 @@ func (c *system) Run(ctx context.Context, installConfig *installconfig.InstallCo
207205
"--leader-elect=false",
208206
},
209207
map[string]string{
210-
"VSPHERE_USERNAME": vcenters[0].Username,
211-
"VSPHERE_PASSWORD": vcenters[0].Password,
212208
"EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION": "true",
213209
"EXP_CLUSTER_RESOURCE_SET": "true",
214210
},

0 commit comments

Comments
 (0)