mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-20 02:17:44 -02:30
Add extra arguments variables for openstack and vsphere cloud controller manager daemonsets (#6783)
This commit is contained in:
@@ -2,4 +2,10 @@
|
||||
external_vsphere_vcenter_port: "443"
|
||||
external_vsphere_insecure: "true"
|
||||
|
||||
## A dictionary of extra arguments to add to the vsphere cloud controller manager daemonset
|
||||
## Format:
|
||||
## external_vsphere_cloud_controller_extra_args:
|
||||
## arg1: "value1"
|
||||
## arg2: "value2"
|
||||
external_vsphere_cloud_controller_extra_args: {}
|
||||
external_vsphere_cloud_controller_image_tag: "latest"
|
||||
|
||||
@@ -41,6 +41,9 @@ spec:
|
||||
- --v=2
|
||||
- --cloud-provider=vsphere
|
||||
- --cloud-config=/etc/cloud/vsphere.conf
|
||||
{% for key, value in external_vsphere_cloud_controller_extra_args.items() %}
|
||||
- "{{ '--' + key + '=' + value }}"
|
||||
{% endfor %}
|
||||
volumeMounts:
|
||||
- mountPath: /etc/cloud
|
||||
name: vsphere-config-volume
|
||||
|
||||
Reference in New Issue
Block a user