helm-version-upgradelisted
Install: claude install-skill qwedsazxc78/devops-ai-skill
# Helm Version Upgrade Skill
## Purpose
Manages Helm chart version upgrades across Terraform+Helm platforms. Handles an **atomic multi-file update** pattern: the Terraform file containing Helm module blocks + each module's variable file + any version-tracking documentation.
## Activation
This skill activates when the user requests:
- Checking for outdated Helm charts
- Upgrading a specific Helm chart version
- Upgrading all Helm charts
- Checking version consistency across module files
## Step 0: Discover Repository Layout
**Do NOT assume any hardcoded file names or paths.** Discover the repo structure at runtime:
### 0a: Find the Helm Module Orchestrator File
Search for Terraform files containing Helm module blocks:
```bash
grep -rl 'source\s*=.*modules.*helm\|module.*helm\|helm_release' --include="*.tf" . | grep -v '.terraform/'
```
This identifies the orchestrator file(s) (e.g., `3-gke-package.tf`, `main.tf`, `helm.tf`, etc.).
### 0b: Discover Module Directories
Parse the orchestrator file(s) for `module` blocks. Extract `source` paths to find module directories:
- Pattern: `source = "./modules/helm/<name>"` or `source = "../modules/<name>"` or any relative path
- Verify each discovered directory exists
### 0c: Discover Module Variable Files
For each module directory, find the variable file:
- Check for `variable.tf` (singular), `variables.tf` (plural), or any `.tf` file containing `variable "install_version"` blocks
- Pattern: `grep -l 'variable.*install_version\