Skip to content

Commit 64c4c4d

Browse files
authoredAug 8, 2019
Merge pull request #471 from akutz/feature/cloud-provider-config
Centralized cloud provider configuration
2 parents b9232ad + 62fa84c commit 64c4c4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3704
-1298
lines changed
 

‎cmd/clusterctl/examples/vsphere/cluster.yaml.template

+15
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,18 @@ spec:
1818
password: "${VSPHERE_PASSWORD}"
1919
sshAuthorizedKeys:
2020
- "${SSH_AUTHORIZED_KEY}"
21+
cloudProviderConfiguration:
22+
global:
23+
secretName: "cloud-provider-vsphere-credentials"
24+
secretNamespace: "kube-system"
25+
virtualCenter:
26+
"${VSPHERE_SERVER}":
27+
datacenters: "${VSPHERE_DATACENTER}"
28+
network:
29+
name: "${VSPHERE_NETWORK}"
30+
workspace:
31+
server: "${VSPHERE_SERVER}"
32+
datacenter: "${VSPHERE_DATACENTER}"
33+
datastore: "${VSPHERE_DATASTORE}"
34+
resourcePool: "${VSPHERE_RESOURCE_POOL}"
35+
folder: "${VSPHERE_FOLDER}"

‎cmd/clusterctl/examples/vsphere/machines.yaml.template

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ items:
1313
apiVersion: vsphere.cluster.k8s.io/v1alpha1
1414
kind: VsphereMachineProviderSpec
1515
datacenter: "${VSPHERE_DATACENTER}"
16-
datastore: "${VSPHERE_DATASTORE}"
17-
resourcePool: "${VSPHERE_RESOURCE_POOL}"
18-
folder: "${VSPHERE_FOLDER}"
1916
network:
2017
devices:
2118
- networkName: "${VSPHERE_NETWORK}"

0 commit comments

Comments
 (0)
Please sign in to comment.