Hide Forgot
Description of problem: Console Plugin CR for console-demo-plugin has wrong apiVersion Version-Release number of selected component (if applicable): 4.7 How reproducible: always Steps to Reproduce: 1. Create ConsolePlugin CRD on the cluster from https://gist.github.com/jhadvig/8c10ca0fbf32703dc8c97af8f57f2228 2. Clone OpenShift 'Console' repository 3. Try to create oc-manifest.yaml in the `frontend/dynamic-demo-plugin/oc-manifest.yaml` Actual results: console-demo-plugin CR wont be created since its in the wrong version - v1 Expected results: console-demo-plugin CR will be created with right version - v1alpha1 Additional info: ConsolePlugin CRD itself is part of https://github.com/openshift/api/pull/764 PR, thats why its not available on the cluster yet.
1. Create ConsolePlugin CRD on the cluster from https://gist.github.com/jhadvig/8c10ca0fbf32703dc8c97af8f57f2228 2. Clone OpenShift 'Console' repository 3. Try to create oc-manifest.yaml in the `frontend/dynamic-demo-plugin/oc-manifest.yaml` # oc create -f frontend/dynamic-demo-plugin/oc-manifest.yaml namespace/console-demo-plugin created deployment.apps/console-demo-plugin created service/console-demo-plugin created consoleplugin.console.openshift.io/console-demo-plugin created # oc get consoleplugin.console.openshift.io console-demo-plugin -o yaml apiVersion: console.openshift.io/v1alpha1 kind: ConsolePlugin metadata: creationTimestamp: "2021-01-12T05:55:15Z" generation: 1 managedFields: - apiVersion: console.openshift.io/v1alpha1 fieldsType: FieldsV1 fieldsV1: f:spec: .: {} f:displayName: {} f:service: .: {} f:basePath: {} f:name: {} f:namespace: {} f:port: {} manager: kubectl-create operation: Update time: "2021-01-12T05:55:15Z" name: console-demo-plugin resourceVersion: "686604" selfLink: /apis/console.openshift.io/v1alpha1/consoleplugins/console-demo-plugin uid: 8e75a1fb-4581-44ee-bc8d-2f062df7fb84 spec: displayName: OpenShift Console Demo Plugin service: basePath: / name: console-demo-plugin namespace: console-demo-plugin port: 9001 This is verified on 4.7.0-0.nightly-2021-01-10-070949
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633