add csi ceph
This commit is contained in:
12
roles/ceph-csi-cephfs/tasks/main.yaml
Normal file
12
roles/ceph-csi-cephfs/tasks/main.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
- set_fact:
|
||||
ceph_csi_cephfs_combined_values: "{{ ceph_csi_cephfs_default_values | combine(ceph_csi_cephfs_values, recursive=true) }}"
|
||||
|
||||
- name: Deploy CSI CephFS {{ ceph_csi_cephfs_version }}
|
||||
kubernetes.core.helm:
|
||||
create_namespace: true
|
||||
release_namespace: "{{ ceph_csi_cephfs_namespace | default('ceph-csi-cephfs') }}"
|
||||
release_name: "{{ ceph_csi_cephfs_name | default('ceph-csi-cephfs') }}"
|
||||
chart_ref: "{{ ceph_csi_cephfs_chart_ref }}"
|
||||
chart_version: "{{ ceph_csi_cephfs_version | default(omit) }}"
|
||||
release_values: "{{ ceph_csi_cephfs_combined_values | from_yaml | default(omit) }}"
|
||||
#wait: true
|
Reference in New Issue
Block a user