helm check script update and added kube_config variale in digital ocean output.tf
- 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.
- 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.
- 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