-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operator catalog is created but now shown in the OLM UI #822
Comments
@ldimaggi According to https://github.com/operator-framework/operator-marketplace#catalogsourceconfig, a (operator-test-env)➜ oc project openshift-operators
Already on project "openshift-operators" on server "https://api.pmacik.devcluster.openshift.com:6443". Verify that no (operator-test-env)➜ oc get catsrc
No resources found. Verify that no (operator-test-env)➜ oc get csc
No resources found. Create a (operator-test-env)➜ cat devconsole.operatorsource.catalog.yaml apiVersion: operators.coreos.com/v1
kind: CatalogSourceConfig
metadata:
name: devconsole-operator-catalog
namespace: openshift-operators
spec:
targetNamespace: local-operators
packages: devconsole-operator
csDisplayName: "Red Hat Devconsole Operator"
csPublisher: "Red Hat" (operator-test-env)➜ oc apply -f devconsole.operatorsource.catalog.yaml
catalogsourceconfig.operators.coreos.com/devconsole-operator-catalog created Verify that the (operator-test-env)➜ oc get csc -o=yaml apiVersion: v1
items:
- apiVersion: operators.coreos.com/v1
kind: CatalogSourceConfig
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"operators.coreos.com/v1","kind":"CatalogSourceConfig","metadata":{"annotations":{},"name":"devconsole-operator-catalog","namespace":"openshift-operators"},"spec":{"csDisplayName":"Red Hat Devconsole Operator","csPublisher":"Red Hat","packages":"devconsole-operator","targetNamespace":"local-operators"}}
creationTimestamp: "2019-04-26T07:47:48Z"
generation: 1
name: devconsole-operator-catalog
namespace: openshift-operators
resourceVersion: "440021"
selfLink: /apis/operators.coreos.com/v1/namespaces/openshift-operators/catalogsourceconfigs/devconsole-operator-catalog
uid: 96467ced-67f7-11e9-b95f-02c0b0e73e24
spec:
csDisplayName: Red Hat Devconsole Operator
csPublisher: Red Hat
packages: devconsole-operator
targetNamespace: local-operators
kind: List
metadata:
resourceVersion: ""
selfLink: "" Check for the (operator-test-env)➜ oc get catsrc --all-namespaces
NAMESPACE NAME NAME TYPE PUBLISHER AGE
openshift-marketplace certified-operators Certified Operators grpc Red Hat 24h
openshift-marketplace community-operators Community Operators grpc Red Hat 24h
openshift-marketplace redhat-operators Red Hat Operators grpc Red Hat 24h
openshift-operator-lifecycle-manager olm-operators OLM Operators internal Red Hat 24h So |
I just realized, that the (operator-test-env)➜ oc get csc --all-namespaces
NAMESPACE NAME STATUS MESSAGE AGE
openshift-marketplace certified-operators Succeeded The object has been successfully reconciled 29h
openshift-marketplace community-operators Succeeded The object has been successfully reconciled 29h
openshift-marketplace redhat-operators Succeeded The object has been successfully reconciled 29h
(operator-test-env)➜ oc get catsrc --all-namespaces
NAMESPACE NAME NAME TYPE PUBLISHER AGE
openshift-marketplace certified-operators Certified Operators grpc Red Hat 29h
openshift-marketplace community-operators Community Operators grpc Red Hat 29h
openshift-marketplace redhat-operators Red Hat Operators grpc Red Hat 29h
openshift-operator-lifecycle-manager olm-operators OLM Operators internal Red Hat 30h
(operator-test-env)➜ oc get opsrc --all-namespaces
NAMESPACE NAME TYPE ENDPOINT REGISTRY DISPLAYNAME PUBLISHER STATUS MESSAGE AGE
openshift-marketplace certified-operators appregistry https://quay.io/cnr certified-operators Certified Operators Red Hat Succeeded The object has been successfully reconciled 30h
openshift-marketplace community-operators appregistry https://quay.io/cnr community-operators Community Operators Red Hat Succeeded The object has been successfully reconciled 30h
openshift-marketplace redhat-operators appregistry https://quay.io/cnr redhat-operators Red Hat Operators Red Hat Succeeded The object has been successfully reconciled 30h
|
Closing as not a bug - the approach followed was not correct. |
Steps to recreate:
Start up an OS4 cluster
Create a CatalogSource:
Apply the CatalogSource:
Verify the CatalogSource in the CLI:
But - the CatalogSource is not displayed in the UI:
The text was updated successfully, but these errors were encountered: