Uploaded image for project: 'OpenShift SDN'
  1. OpenShift SDN
  2. SDN-4598

cloud-network-config-controller deployment SecurityContext setting needs updated for HyperShift

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 0
    • 0

      The cloud-network-config-operator is being deployed on HyperShift with `runAsNonRoot` set to true. When HCP is deployed on non-OpenShift management clusters, such as AKS, this needs to be unset so the pod can run as root.

      This is currently causing issues deploying this pod on HCP on AKS with the following error:

            state:
              waiting:
                message: 'container has runAsNonRoot and image will run as root (pod: "cloud-network-config-controller-59d4677589-bpkfp_clusters-brcox-hypershift-arm(62a4b447-1df7-4e4a-9716-6e10ec55d8fd)", container: hosted-cluster-kubecfg-setup)'
                reason: CreateContainerConfigError 

            rh-ee-brcox Bryan Cox
            rh-ee-brcox Bryan Cox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: