This directory contains the root cause analysis for the ArgoCD deployment failure of the 2-broken-apps application reported in Issue #12.
To post the analysis as a comment on the GitHub issue, use one of these methods:
gh issue comment 12 --body-file .github/ISSUE_12_ANALYSIS.mdTrigger the workflow manually from the Actions tab or via CLI:
gh workflow run post-issue-analysis.yml -f issue_number=12Run the provided script:
./.github/scripts/post-to-issue.sh 12- Open the issue: #12
- Copy the contents of
.github/ISSUE_12_ANALYSIS.md - Paste into a new comment
- ISSUE_12_ANALYSIS.md - Complete root cause analysis and remediation recommendations
- workflows/post-issue-analysis.yml - GitHub Actions workflow to post the analysis
- scripts/post-to-issue.sh - Bash script to post the analysis
- scripts/post-issue-analysis.js - Node.js helper script
- README_ANALYSIS.md - This file
The deployment is failing due to an invalid Kubernetes API version in the manifest file:
File: apps/broken-aks-store-all-in-one.yaml (line 178) in the external repository
Issue: apiVersion: apps/v should be apiVersion: apps/v1
This was intentionally broken for testing ArgoCD notification workflows (commit message: "break apiVersion formatting in deployment YAML").
- Fix the source repository - Correct the
apiVersionfield in the YAML file - Point to a different source - Update the ArgoCD Application to use a working repository
- Use resource exclusion - Temporarily exclude the broken deployment while investigating
See the full analysis in ISSUE_12_ANALYSIS.md for detailed remediation steps.