Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-7850

policy template to report on MSA tokens with no backup label

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • ACM 2.10.0
    • Business Continuity
    • No

       Look for extending the hub backup policy templates with a new one, to check if any of the generated MSA tokens (named auto-import-account and with a label authentication.open-cluster-management.io/is-managed-serviceaccount: "true" ) have no backup label ( meaning they would not be backed up, so the restore will not reimport this managed cluster )

      The label is cluster.open-cluster-management.io/backup: msa

       

      kind: Secret

      metadata:

        name: auto-import-account

        namespace: vb-managed-1

        annotations:

          expirationTimestamp: "2023-10-13T13:32:58Z"

          lastRefreshTimestamp: "2023-10-03T13:32:59Z"

        creationTimestamp: "2023-10-03T13:32:59Z"

        labels:

          authentication.open-cluster-management.io/is-managed-serviceaccount: "true"

          cluster.open-cluster-management.io/backup: msa

        1. Screenshot 2023-10-18 at 1.12.25 PM.png
          382 kB
          Sahar Ebrahimi
        2. Screen Shot 2023-10-18 at 3.03.30 PM.png
          190 kB
          Valentina Birsan
        3. image-2023-10-18-15-04-19-245.png
          190 kB
          Valentina Birsan
        4. definition.yaml
          1 kB
          Valentina Birsan

              saharebrahimi Sahar Ebrahimi
              vbirsan@redhat.com Valentina Birsan
              Thuy Nguyen Thuy Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: