Skip to content

Commit

Permalink
add Cinder allowVolumeExpansion option (kubernetes-sigs#4415)
Browse files Browse the repository at this point in the history
  • Loading branch information
ermitovski authored and LuckySB committed Apr 9, 2019
1 parent f46caf6 commit ef0806b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ parameters:
{% for key, value in (class.parameters | default({})).items() %}
"{{ key }}": "{{ value }}"
{% endfor %}
allowVolumeExpansion: {{ expand_persistent_volumes }}
{% endfor %}
1 change: 1 addition & 0 deletions roles/kubernetes/master/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ kube_apiserver_admission_control:
- LimitRanger
- ServiceAccount
- DefaultStorageClass
- PersistentVolumeClaimResize
- >-
{%- if kube_version is version('v1.9', '<') -%}
GenericAdmissionWebhook
Expand Down
1 change: 1 addition & 0 deletions roles/kubespray-defaults/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ persistent_volumes_enabled: false
cephfs_provisioner_enabled: false
ingress_nginx_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)
# openstack_blockstorage_version: "v1/v2/auto (default)"
Expand Down

0 comments on commit ef0806b

Please sign in to comment.