add Cinder allowVolumeExpansion option (#4415)

pull/4437/head
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)"