Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-6022

Add an option to set AnnotationLabels to the ArgoCD config

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.16.0
    • None
    • None
    • None
    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      With this update, the ArgoCD Operator adds support for the `InstallationID` field in the ArgoCDSpec type, enabling better management of multi-instance deployments. This feature allows users to assign a unique identifier to each ArgoCD instance, ensuring proper differentiation of applications with the same name across multiple instances. By setting an InstallationID, users can prevent conflicts between applications and ensure accurate tracking of resources in multi-instance environments.
      Show
      With this update, the ArgoCD Operator adds support for the `InstallationID` field in the ArgoCDSpec type, enabling better management of multi-instance deployments. This feature allows users to assign a unique identifier to each ArgoCD instance, ensuring proper differentiation of applications with the same name across multiple instances. By setting an InstallationID, users can prevent conflicts between applications and ensure accurate tracking of resources in multi-instance environments.
    • GitOps Tangerine - Sprint 3268, GitOps Tangerine - Sprint 3269, GitOps Tangerine - Sprint 3270, GitOps Tangerine Sprint 12, GitOps Tangerine Sprint 13

      Story (Required)

      • When multiple ArgoCD instances have Applications with same name, it is impossible to differentiate their resources and Applications are in the infinite sync loop.
      • ArgoCD supports this scenario, but the setting is not configurable by ArgoCD operator. The feature was introduced in ArgoCD in https://github.com/argoproj/argo-cd/pull/20222.

      Background and Approach (Required)

           ApplicationTrackingAnnotations map[string]string `json:"applicationTrackingAnnotations,omitempty"` 
      • Users can then pass the values like `installationID: "my-unique-id"` in the map which the operator would set in the argocd-cm.

      Out of Scope

      • <Defines what is not included in this story.>

      Dependencies

      • <Describes what this story depends on. Dependent stories and EPICs should be linked to the story.>

      Acceptance Criteria (Mandatory)

      • The code has complete unit test and e2e test coverage of the feature. Discuss with QE folks if anything needs to be added in the test suite
      • The Applications tracked by the specific ArgoCD instance are updated with the annotations.
      • The build succeeds

      Definition of Done

      • Code Complete:
        • All code has been written, reviewed, and approved.
      • Tested:
        • Unit tests have been written and passed.
        • Ensure code coverage is not reduced with the changes.
        • Integration tests have been automated.
        • System tests have been conducted, and all critical bugs have been fixed.
        • Tested and merged on OpenShift either upstream or downstream on a local build.
      • Documentation:
        • User documentation or release notes have been written (if applicable).
      • Build:
        • Code has been successfully built and integrated into the main repository / project.
        • Midstream changes (if applicable) are done, reviewed, approved and merged.
      • Review:
        • Code has been peer-reviewed and meets coding standards.
        • All acceptance criteria defined in the user story have been met.
        • Tested by reviewer on OpenShift.
      • Deployment:
        • The feature has been deployed on OpenShift cluster for testing.

              rh-ee-atali Atif Ali
              isequeir@redhat.com Ishita Sequeira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: