Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6846

Support for labels/annotations on DataProtectionApplications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • OADP 1.6.0
    • None
    • None
    • Incidents & Support
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Very Likely
    • 0
    • 0
    • None
    • Unset
    • Unknown
    • None

      Add support for labels/annotations on DataProtectionApplication resources, so annotations/labels are propagated onto BackupStorageLocation resources.

      When DataProtectionApplication resources are managed by Argo CD, status updates of child resources, specifically BackupStorageLocation resources, trigger a reconcile. Status updates on BackupStorageLocation happen every minute and therefore create a measurable CPU usage impact on the ArgoCD application controller.

      In order to exclude child/untracked resources from Argo CD syncs/reconciles, resources not directly created by Argo CD have to set the `argocd.argoproj.io/ignore-resource-updates: 'true'` annotation. As of now, this is not possible but it looks like someone already thought of supporting this: https://github.com/openshift/oadp-operator/blob/oadp-dev/api/v1alpha1/dataprotectionapplication_types.go#L616

              spampatt@redhat.com Shubham Pampattiwar
              rh-ee-baffolte Benjamin Affolter
              Sachin Singla Sachin Singla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: