add Cinder allowVolumeExpansion option (#4415)

This commit is contained in:
Xavi 2019-04-04 11:36:50 +02:00 committed by Kubernetes Prow Robot
parent e485fab7eb
commit 20b12751af
3 changed files with 3 additions and 0 deletions

View file

@ -11,4 +11,5 @@ parameters:
{% for key, value in (class.parameters | default({})).items() %} {% for key, value in (class.parameters | default({})).items() %}
"{{ key }}": "{{ value }}" "{{ key }}": "{{ value }}"
{% endfor %} {% endfor %}
allowVolumeExpansion: {{ expand_persistent_volumes }}
{% endfor %} {% endfor %}

View file

@ -83,6 +83,7 @@ kube_apiserver_admission_control:
- LimitRanger - LimitRanger
- ServiceAccount - ServiceAccount
- DefaultStorageClass - DefaultStorageClass
- PersistentVolumeClaimResize
- >- - >-
{%- if kube_version is version('v1.9', '<') -%} {%- if kube_version is version('v1.9', '<') -%}
GenericAdmissionWebhook GenericAdmissionWebhook

View file

@ -277,6 +277,7 @@ persistent_volumes_enabled: false
cephfs_provisioner_enabled: false cephfs_provisioner_enabled: false
ingress_nginx_enabled: false ingress_nginx_enabled: false
cert_manager_enabled: false cert_manager_enabled: false
expand_persistent_volumes: false
## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461) ## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
# openstack_blockstorage_version: "v1/v2/auto (default)" # openstack_blockstorage_version: "v1/v2/auto (default)"