Skip to content
Snippets Groups Projects
Unverified Commit 1853085f authored by Kevin Huang's avatar Kevin Huang Committed by GitHub
Browse files

feat(cinder-csi): Allow deletionPolicy to be configurable (#9736)

parent 9247137e
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,4 @@ snapshot_classes:
- name: cinder-csi-snapshot
is_default: false
force_create: true
deletionPolicy: Delete
......@@ -7,7 +7,7 @@ metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) | ternary("true","false") }}"
driver: cinder.csi.openstack.org
deletionPolicy: Delete
deletionPolicy: "{{ class.deletionPolicy | default("Delete") }}"
parameters:
force-create: "{{ class.force_create }}"
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment