-
Notifications
You must be signed in to change notification settings - Fork 13
Description
It is common practice for Operators to use custom resource definitions (CRDs) internally to accomplish a task. These objects are not meant for users to manipulate and can be confusing to users of the Operator. For example, a database Operator might have a Replication CRD that is created whenever a user creates a Database object with replication: true.
As an Operator author, you can hide any CRDs in the user interface that are not meant for user manipulation by adding the operators.operatorframework.io/internal-objects annotation to the cluster service version (CSV) of your Operator.
For example, the couchdb operator have added these annotations:
But the internal kinds "backups" and "buckets" still show up in the operatorhub.io preview page:
So it looks like the authors of that operator have resorted to adding their own (Internal)
prefix to the names of all those kinds.
They should be hidden by default.