Skip to content

helm check script update and added kube_config variale in digital ocean output.tf

Sandeeps requested to merge main-I255d9f68a857455c8341b50de5a3d1b65451d3a3 into main
  1. Implemented a shell script to dynamically generate kubeconfig and retrieve the namespace from Terraform output, ensuring the process gracefully handles missing outputs or uncreated resources.
  2. Added validation for the presence and content of the kubeconfig file. If absent or empty, the script exits with an error to prevent dependent operations from failing.
  3. Incorporated logic to list all pending Helm releases across namespaces and perform a rollback on each, solving the problem of Terraform confusion due to Helm's 'pending-upgrade' state.

Bug: T354787

Edited by Sandeeps

Merge request reports