-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Originally reported by @TBBle in k8s-operatorhub/community-operators#549 (comment)
Looking at operatorhub.io, the top looks like this:
Anyway, I assume the underlying cause is that alphabetically, [ sorts before A, and there's no rule preventing naming your operator to (intentionally or unintentionally) take advantage of that.
Putting [Deprecated] at the start of the name of a deprecated operator's entry isn't ideal, but there isn't a "deprecated" field or similar in ClusterServiceVersion v1alpha1 that could be used specifically for this.
Perhaps recognising a deprecated value for the maturity free-string field would work? Or perhaps this is something that should be at the channel level instead, to deprecate a whole operator, rather than a specific version?
Anyway, with that metadata being distinguished, then deprecated operators could be hidden by default, and searched as a separate axis, and the deprecation status could be made visible via something other than the name field.
It seems that there is a well defined deprecated
maturity value:
operatorhub.io/frontend/src/utils/constants.ts
Lines 111 to 113 in e15615c
export const maturityOptions = ['planning', 'pre-alpha', 'alpha', 'beta', 'stable', 'mature', 'inactive', 'deprecated']; | |
But it is not well documented for bundle authors.
Only places I find it mentioned are: