-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
Problem
After custom images are built and published via GitHub workflows, the helm chart values need to be manually updated with the new image tags. This manual process:
- Creates delay between image availability and chart updates
- Is prone to human error and inconsistency
- Breaks the automation chain
- Makes it difficult to track which chart version uses which image versions
Solution
Create automation to automatically update the helm chart with newly built image tags, maintaining traceability and enabling seamless CI/CD flow.
Dependencies
- Requires completion of FLPATH-3183 (GitHub workflow for image building)
- Requires completion of FLPATH-3182 (versioned image tags)
Acceptance Criteria
- [ ] Design chart update mechanism (PR-based workflow recommended)
- [ ] Implement workflow trigger from successful image builds
- [ ] Create automated PR creation with chart updates
- [ ] Include validation checks for chart syntax and functionality
- [ ] Add automated testing of updated charts
- [ ] Implement rollback mechanism for failed chart updates
- [ ] Create notification system for successful chart updates
- [ ] Maintain changelog/tracking of image version updates
- [ ] Document the automated update process
- [ ] Test integration between image building and chart updates
Implementation Approach
- Trigger: Image build workflow completion
- Process:
- Clone chart repository
- Update values.yaml with new image tags
- Run chart validation tests
- Create PR with changes
- Validation: Automated chart linting and testing
- Approval: Automated merge if tests pass, or manual review for breaking changes
Definition of Done
- Chart automatically updates when new images are published
- Process includes proper validation and testing
- Failed updates have rollback capabilities
- Full audit trail of image version changes is maintained
- Manual chart updates are no longer required