Browse Source

fix readonly flexvolume in fcos and coreos (#5885)

pull/5908/head
spaced 4 years ago
committed by GitHub
parent
commit
157c247563
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

3
roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

@ -253,6 +253,9 @@ controllerManager:
{% if kube_network_plugin is defined and kube_network_plugin not in ["cloud"] %} {% if kube_network_plugin is defined and kube_network_plugin not in ["cloud"] %}
configure-cloud-routes: "false" configure-cloud-routes: "false"
{% endif %} {% endif %}
{% if kubelet_flexvolumes_plugins_dir is defined %}
flex-volume-plugin-dir: {{kubelet_flexvolumes_plugins_dir}}
{% endif %}
{% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere", "aws"] or controller_manager_extra_volumes %} {% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere", "aws"] or controller_manager_extra_volumes %}
extraVolumes: extraVolumes:
{% if cloud_provider is defined and cloud_provider in ["openstack"] and openstack_cacert is defined %} {% if cloud_provider is defined and cloud_provider in ["openstack"] and openstack_cacert is defined %}

Loading…
Cancel
Save