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

Implement Child Resource Retrieval for Repo Sever and resource-relation-lookup configmap

XMLWordPrintable

    • 5
    • GitOps Crimson - Sprint 3268, GitOps Crimson - Sprint 3269

      Story (Required)

       Fetch child resources of an Argo CD application during reconciliation. Specifically, the controller should:

      1. Retrieve direct child resources of the Argo CD application from the repository server.
      2. Retrieve descendant resources using the resource-relation-lookup ConfigMap.

       

      ConfigMap Details

      The resource-relation-lookup ConfigMap provides a mapping of resource relationships:

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: resource-relation-lookup
        namespace: argocd
      data:
        apps_Deployment: apps_ReplicaSet
        apps_ReplicaSet: core_Pod
        apps_StatefulSet: apps_ReplicaSet
        core_Service: core_Endpoint
       

      {{}}

      Acceptance Criteria

      • Direct Children Retrieval: The controller retrieves all direct child resources from the repository server for the Argo CD application being reconciled.
      • Descendant Resources Retrieval: Using the resource-relation-lookup ConfigMap, fetch descendant relationships recursively.

              rh-ee-mmeetei Mangaal Meetei
              rh-ee-anjoseph Anand Francis Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: