Skip to content

Commit

Permalink
try to delete resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Aug 5, 2024
1 parent 529a614 commit 6fd8a5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ cephClusterSpec:
bdev_flock_retry: "20"
bluefs_buffered_io: "false"
mon_data_avail_warn: "10"
cleanupPolicy:
confirmation: "yes-really-destroy-data"
placement:
additionalProperties:
nodeAffinity:
Expand Down
7 changes: 6 additions & 1 deletion src/_nebari/stages/kubernetes_services/template/rook-ceph.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ resource "helm_release" "rook-ceph" {
# var.overrides
)

# depends_on = [kubernetes_namespace.rook-ceph]
# Hack to wait for the operator to destroy existing resources before proceeding
# If kubectl were available, we could wait for the problematic resources specifically
provisioner "local-exec" {
command = "sleep 120"
when = destroy
}
}

0 comments on commit 6fd8a5a

Please sign in to comment.