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

Disabling the HC auto-import in hypershift addon agent should be controlled by environment variable

XMLWordPrintable

    • Moderate
    • No

      Description of problem:

      The hypershift addon agent auto-imports hosted clusters but there is a way to configure the hub cluster to disable this auto-import. This does not work if the agent is deployed to a remote spoke cluster because the agent checks the configuration from the AddOnDeploymentConfig resource locally which does not get propagated to spoke clusters.

       

      For disabling the auto-import configuration to work globally, the disable flag should be visible by the hypershift addon agents from spoke clusters as well.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:

      1. Enable the hypershift addon for a remote managed cluster
      2. Disable the auto-import as documented in https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html/clusters/cluster_mce_overview#hosted-disable-auto-import
      3. Create a hosted cluster on the managed cluster

      Actual results:

      A managed cluster is created for the hosted cluster.

      Expected results:

      Since auto-import is disabled, there should be no managed cluster created for the hosted cluster on the ACM/MCE managed (hosting) cluster.

      Additional info:

            rokejungrh Roke Jung
            rokejungrh Roke Jung
            David Huynh David Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: