-
Notifications
You must be signed in to change notification settings - Fork 87
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
Modify labels configuration for litmus-core #363
base: master
Are you sure you want to change the base?
Changes from 2 commits
b20eb06
61535a3
06685bf
fad667f
e664f3f
af57718
44e20cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ kind: ClusterRoleBinding | |
metadata: | ||
name: {{ include "litmus.fullname" . }} | ||
labels: | ||
app: {{ template "litmus.name" . }} | ||
{{- include "litmus.labels" . | indent 4 }} | ||
{{- include "litmus.operatorLabels" . | indent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
|
@@ -23,8 +22,7 @@ kind: ClusterRoleBinding | |
metadata: | ||
name: {{ include "litmus.fullname" . }}-admin | ||
labels: | ||
app: {{ template "litmus.name" . }} | ||
{{- include "litmus.labels" . | indent 4 }} | ||
{{- include "litmus.operatorLabels" . | indent 4 }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need the labels on clusterrole and clusterrolebinding? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The labels were already present before this PR. Personally I still think that the labels are useful since it help to know at which application the clusterrole/clusterrolebinding are part of. For the But if needed, I can remove them. |
||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
|
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.
matchLabels changes are not backward compatibles