|
@ -5,7 +5,7 @@ apiVersion: storage.k8s.io/v1 |
|
|
metadata: |
|
|
metadata: |
|
|
name: "{{ class.name }}" |
|
|
name: "{{ class.name }}" |
|
|
annotations: |
|
|
annotations: |
|
|
storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) }}" |
|
|
|
|
|
|
|
|
storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) | ternary("true","false") }}" |
|
|
provisioner: kubernetes.io/cinder |
|
|
provisioner: kubernetes.io/cinder |
|
|
parameters: |
|
|
parameters: |
|
|
{% for key, value in (class.parameters | default({})).items() %} |
|
|
{% for key, value in (class.parameters | default({})).items() %} |
|
|