Skip to content

Commit

Permalink
rook: fix cluster cleanup/purge (#1617)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Sep 24, 2024
1 parent 277f677 commit 937fddc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion roles/rook/tasks/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
confirmation: "yes-really-destroy-data"
kubeconfig: /share/kubeconfig

- name: Delete all CephClient CRDs
- name: "Delete CephCluster {{ rook_cluster_name }}"
kubernetes.core.helm:
state: absent
release_name: "{{ rook_cluster_name }}"
release_namespace: "{{ rook_namespace }}"

- name: Delete all CephClient resources
kubernetes.core.k8s:
state: absent
kind: CephClient
Expand Down
2 changes: 1 addition & 1 deletion roles/rook/tasks/deploy-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
loop_var: _file
loop: "{{ _helm_files_found.files }}"

- name: Deploy rook-ceph-cluster
- name: "Deploy CephCluster {{ rook_cluster_name }}"
kubernetes.core.helm:
release_name: "{{ rook_cluster_name }}"
chart_ref: rook-release/rook-ceph-cluster
Expand Down

0 comments on commit 937fddc

Please sign in to comment.