-
-
Couldn't load subscription status.
- Fork 16
feat(operator): Add LabelExt trait #1106
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
Conversation
This trait enables adding one or multiple labels to any Kubernetes resource (through kube's ResourceExt trait).
This adds the following new associated functions to construct labels: - `Label::instance`: app.kubernetes.io/instance - `Label::name`: app.kubernetes.io/name - `Label::stackable_vendor`: stackable.tech/vendor=Stackable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for fixing the doc-comment titles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This trait enables adding one or multiple labels to any Kubernetes resource (through kube's ResourceExt trait).
This feature came out of stackabletech/secret-operator#634 which needs adding of labels to the default custom resources.