Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Hide obsolete CRD in OLM #120

Open
aliok opened this issue Mar 3, 2020 · 1 comment
Open

Hide obsolete CRD in OLM #120

aliok opened this issue Mar 3, 2020 · 1 comment
Assignees

Comments

@aliok
Copy link
Member

aliok commented Mar 3, 2020

As per OLM docs

apply the following annotation on the CSV to hide the obsolete CRD.

apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  name: my-operator-v1.2.3
  annotations:
    operators.operatorframework.io/internal-objects: '["my.internal.crd1.io","my.internal.crd2.io"]' 
...
@aliok
Copy link
Member Author

aliok commented Mar 3, 2020

/assign @aliok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant