-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix accessing .Values in templates #2174
Conversation
PR Description updated to latest commit (fb42ab2)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
@maxmanuylov, thank you for your interest in the chart and for providing a valuable fix! |
User description
Description
".Values" is incorrectly accessed in some templates (in those, for which the context is not global)
Motivation and Context
Right now browser nodes do not start because startup probe does not work because probe scripts are not mounted to the pod because ".Values.nodeConfigMap.extraScripts" is empty when template is called with non-global context.
Types of changes
Type
bug_fix
Description
.Values
was incorrectly accessed in autoscaling and video recorder configurations, causing browser nodes not to start..Values
for consistency and correctness..Values
.Changes walkthrough
_helpers.tpl
Fix Incorrect Access to
.Values
in Autoscaling and Video RecorderConfigurations
charts/selenium-grid/templates/_helpers.tpl
.Values
in autoscaling and video recorderconfigurations by ensuring the context is global using
$
.and handle triggers.
context for
.Values
.to properly reference global
.Values
.