-
Notifications
You must be signed in to change notification settings - Fork 500
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
Fixed syntax for "and" conditions #2869
Conversation
Fixes a deployment error. ``` <(.Values.monitor.create) and (.Values.monitor.grafana.create)>: can't give argument to non-function .Values.monitor.create ``` We have confirmed that both helm2[1] and helm3[2] work. [1]: https://v2.helm.sh/docs/chart_template_guide/#operators-are-functions [2]: https://helm.sh/docs/chart_template_guide/function_list/#and
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 the fix!
/run-all-tests |
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
/merge |
Sorry @DanielZhangQD, you don't have permission to trigger auto merge event on this branch. The number of |
@8398a7 Thanks for your contribution! |
/run-all-tests |
/run-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-1.1 in PR #2877 |
What problem does this PR solve?
Fixes a deployment error. (#2867)
I have confirmed that both helm2 and helm3 work.
https://v2.helm.sh/docs/chart_template_guide/#operators-are-functions
https://helm.sh/docs/chart_template_guide/function_list/#and
What is changed and how does it work?
Fixed syntax.
Check List
Tests
I used a v1.16 series k8s cluster.
The following command is used to check the operation.
Code changes
Related changes
None.
Does this PR introduce a user-facing change?:
No.