smaddis / smad-deploy-azure

Terraform scripts to set up AKS, ACR, KV for Kuksa Cloud (Eclipse Hono) deployment.
MIT License
0 stars 6 forks source link

Use separate RG for K8S persistent volumes #75

Closed JouHouFin closed 3 years ago

JouHouFin commented 3 years ago

Commit 2541caf013b50ba1b2ac7f740b9efbedf13686d3:

By this commit, persistent volumes created to the separate resource group are not destroyed even if terraform destroy is performed in the root module. However, in the current script the "abandoned" volumes are not reused, so if one wants to collect the information in them, it has to be done manually.

Closes #66

JouHouFin commented 3 years ago

With commit fa1b6d7 using the separate resource group is opt-in. This can be enabled via a variable use_separate_storage_rg set as true.