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

Alertmanager's secret name generated on managed clusters is too long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ACM 2.15.1
    • ACM 2.15.0
    • Observability
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical
    • Customer Facing
    • None

      Context:

      Following changes for the Global Hub feature to make alermanager secret name unique by hub cluster, the generated name becomes too long in some cases where the hub domain is long. Cf https://redhat-internal.slack.com/archives/CUU609ZQC/p1765941596137909

      As a result, the injected secret name into the CMO configuration is too long as the operator adds a 'secret-' prefix for the volume names generated from the secret names, pushing the total length past the Kubernetes limit. And the statefulset is not able to start. Breaking the CMO monitoring stack.

      The only fallback is to disable alert forwarding so that the CMO configuration is not updated with the secret name.

      Acceptance:

      Another suffix is used to have the alermanager secret name unique by hub cluster and shorter than 55 characters. Lower if possible. 
      As suffix, we can use the beginning of the hub cluster ID or a short hash of the domain.

              rh-ee-jachanse Jacob Baungard Hansen
              rh-ee-tmange Thibault Mange
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: