-
Notifications
You must be signed in to change notification settings - Fork 21
support customized labels #157
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
|
@mingmcb thx for your contribution! just few suggestions for this PR:
|
ericsyh
left a comment
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
| namespace: {{ include "pulsar-resources-operator.namespace" .}} | ||
| labels: | ||
| {{- include "pulsar-resources-operator.labels" . | nindent 4 }} | ||
| {{- toYaml .Values.labels" | nindent 4 }} |
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.
| {{- toYaml .Values.labels" | nindent 4 }} | |
| {{- toYaml .Values.labels | nindent 4 }} |
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.
good catch! please review
| {{- toYaml .Values.podAnnotations | nindent 8 }} | ||
| labels: | ||
| {{- include "pulsar-resources-operator.selectorLabels" . | nindent 8 }} | ||
| {{- toYaml .Values.podLabels" | nindent 8 }} |
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.
| {{- toYaml .Values.podLabels" | nindent 8 }} | |
| {{- toYaml .Values.podLabels | nindent 8 }} |
ericsyh
left a comment
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.
Should remove unexpected " in the templates.
ericsyh
left a comment
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.
left a comment.
| # follow Semantic Versioning. They should reflect the version the application is using. | ||
| # It is recommended to use it with quotes. | ||
| appVersion: "v0.4.3" | ||
| appVersion: "v0.4.4" |
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.
@mingmcb appVersion means the operator image version here.
So for your case, should not change the appVersion here cause your change is only about the chart template and won't need a new operator image.
ericsyh
left a comment
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
* support customized labels * clean up the change * Update deployment.yaml * updated per review (cherry picked from commit 2e56e27)
support customized labels
Master Issue: #156
Motivation
to add allow user add customized labels
Modifications
Update the deployment template for new labels
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation
Check the box below.
Need to update docs?
doc-requiredno-need-docthis change is self-explain
doc