Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-3184

Implement automated chart updates with newly built image tags

XMLWordPrintable

      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

      1. Trigger: Image build workflow completion
      2. Process:
        • Clone chart repository
        • Update values.yaml with new image tags
        • Run chart validation tests
        • Create PR with changes
      3. Validation: Automated chart linting and testing
      4. 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

              rh-ee-masayag Moti Asayag
              rh-ee-masayag Moti Asayag
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: