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

Introduce a new label on all operator-managed/watched Secrets & ConfigMaps

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • GitOps Crimson Sprint 15, GitOps Crimson Sprint 16, GitOps Crimson Sprint 17, GitOps Crimson Sprint 18

      Story (Required)

      Introduce a new label: operator.argoproj.io/watched-by=argocd (after suggestion on the PR, the new label will be operator.argoproj.io/tracked-by=argocd)

      This label will be applied to all secret and configmap resources managed or watched by the operator. Using this label, we can configure the controller-runtime cache to filter and store only relevant objects.

      Background and Approach (Required)

      Acceptance Criteria (Mandatory)

      • Operator adds operator.argoproj.io/watched-by=argocd on all configmaps and secrets it creates/manages.
      • e2e/unit tests are added/updated.

      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.

              nmirasch@redhat.com Neus Miras Chueca
              rh-ee-sghadi Siddhesh Ghadi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: