Skip to content

Commit

Permalink
Allow users to pass extra vsphere credentials
Browse files Browse the repository at this point in the history
This will allow users to provide different credentials
for cloud provider and CSI driver
  • Loading branch information
mdsgabriel committed Apr 13, 2022
1 parent 1b065ac commit c4df74f
Show file tree
Hide file tree
Showing 6 changed files with 3,623 additions and 21 deletions.
8 changes: 4 additions & 4 deletions pkg/providers/vsphere/config/template-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ stringData:
thumbprint = "{{.thumbprint}}"
[VirtualCenter "{{.vsphereServer}}"]
user = "{{.eksaVsphereUsername}}"
password = "{{.eksaVspherePassword}}"
user = "{{.eksaCSIUsername}}"
password = "{{.eksaCSIPassword}}"
datacenters = "{{.vsphereDatacenter}}"
insecure-flag = "{{.insecure}}"
Expand Down Expand Up @@ -1043,8 +1043,8 @@ stringData:
name: cloud-provider-vsphere-credentials
namespace: kube-system
stringData:
{{.vsphereServer}}.password: "{{.eksaVspherePassword}}"
{{.vsphereServer}}.username: "{{.eksaVsphereUsername}}"
{{.vsphereServer}}.password: "{{.eksaCloudProviderPassword}}"
{{.vsphereServer}}.username: "{{.eksaCloudProviderUsername}}"
type: Opaque
type: addons.cluster.x-k8s.io/resource-set
---
Expand Down
Loading

0 comments on commit c4df74f

Please sign in to comment.