Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-1364

Failed to create sharedsecret and SharedConfigMap in openshift 4.18.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • None
    • Build
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Failed to create sharesecret and SharedConfigMap in openshift 4.18

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      [root@ocp4-rhel8-ent-slave-1 ~]# oc new-project ent-test;oc status
      
      [root@ocp4-rhel8-ent-slave-1 entitlement-tests]# oc patch  featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type merge
      
      [root@ocp4-rhel8-ent-slave-1 entitlement-tests]# cat CDN/OCP4_Container/configs/SharedSecret.yaml
      apiVersion: sharedresource.openshift.io/v1alpha1
      kind: SharedSecret
      metadata:
        name: my-share
      spec:
        secretRef:
          name: etc-pki-entitlement
          namespace: openshift-config-managed
      
      [root@ocp4-rhel8-ent-slave-1 entitlement-tests]# oc create -f CDN/OCP4_Container/configs/SharedSecret.yaml
      error: resource mapping not found for name: "my-share" namespace: "" from "CDN/OCP4_Container/configs/SharedSecret.yaml": no matches for kind "SharedSecret" in version "sharedresource.openshift.io/v1alpha1"
      ensure CRDs are installed first
      

       

      Actual results:

      Same issue for SharedConfigMap.

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              rh-ee-sabiswas Sayan Biswas
              weiliu_uhc wei liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: