-
Notifications
You must be signed in to change notification settings - Fork 125
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
Common labels #147
Common labels #147
Conversation
* remove unused template definitions * create common template for labels and include it in subchart label templates
* Remove quotes * include global labels
With using nindent we don't need to add a separate newline and it can be added in the same line as the key: labels:
*/}} | ||
{{- define "zeebe.labels.gateway" -}} | ||
{{- template "ccsm.labels" . }} | ||
app.kubernetes.io/component: gateway |
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.
See #145 (comment)
To make more cleare where the gateway belongs to we add the zeebe- prefix to the broker and gateway component
I would like to request a review from you @Sijoma but seems to be not possible 🤷 Maybe you can still take a look, let me know if you have no time. I thought this would be something which is in your interest. Maybe we can have similar labels in the controller at some point. |
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.
Looks like a nice refactor!
Thanks for the review @Sijoma 🙇 |
Follows https://helm.sh/docs/chart_best_practices/labels/#standard-labels to set up common labels
Example:
closes #131
related to #124