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

Remove cert reference from the ClusterDeployment file in Openstack

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • ACM Console Sprint 245
    • No

      Description of problem:

      When provisioning an openstack spoke using creds w/o custom CA cert attached, ClusterDeployment contains a cert reference - {}certificatesSecretRef which causes machine pool to fail from working once the cluster is provisioned. Removing the reference fixes the issue.

      Sample default yaml - 

      apiVersion: hive.openshift.io/v1
      kind: ClusterDeployment
      metadata:
        name: ""
        namespace: ""
        labels:
          cloud: OpenStack
          vendor: OpenShift
      spec:
        baseDomain: dev09.red-chesterfield.com
        clusterName: ""
        controlPlaneConfig:
          servingCertificates: {}
        installAttemptsLimit: 1
        installed: false
        platform:
          openstack:
            certificatesSecretRef:
              name: -openstack-trust
            credentialsSecretRef:
              name: -openstack-creds
            cloud: openstack
        provisioning:
          installConfigSecretRef:
            name: -install-config
          sshPrivateKeySecretRef:
            name: -ssh-private-key
        pullSecretRef:
          name: -pull-secret 

       

      UI Sample -

              rh-ee-kcormier Kevin Cormier
              rhn-support-ashafi Atif Shafi
              Atif Shafi Atif Shafi
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: