You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to changes in this commit the values for the Readiness and Liveness probes are not being applied, and we are unable to set or override the new/default values.
Both probes still expect the values to be provided within a with statement as part of the code logic.
I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
helm template -f values.yaml . > test.yaml
Open test.yaml and values for readiness and liveness probes doesn't exist even they are bot defined in values.yaml
Expected behavior
We should see values which are defined in values.yaml
Screenshots
No response
Exception traceback
No response
Additional context
From my point of view this PR doesn't make sense. Because you replaced with statement with an if condition, but both serve the same purpose. If you have if condition or if you have with statement they both do same things. with statement will not be templated in case that you set empty bracket ({}) as the value.
@Mart-Kuc , that's totally my fault, I opted for if condition to have a cleaner look in the final configuration if you don't want to use the probes. Without {}.
Describe the issue
Hello,
Due to changes in this commit the values for the Readiness and Liveness probes are not being applied, and we are unable to set or override the new/default values.
Both probes still expect the values to be provided within a
with
statement as part of the code logic.I already tried
Steps to reproduce the behavior
helm template -f values.yaml . > test.yaml
Open
test.yaml
and values forreadiness
andliveness
probes doesn't exist even they are bot defined invalues.yaml
Expected behavior
We should see values which are defined in
values.yaml
Screenshots
No response
Exception traceback
No response
Additional context
From my point of view this PR doesn't make sense. Because you replaced
with
statement with anif
condition, but both serve the same purpose. If you haveif
condition or if you havewith
statement they both do same things.with
statement will not be templated in case that you set empty bracket ({}
) as the value.See example:
So my suggestion is revert/remove this one PR
However, if you prefer to keep these changes, I have created a separate PR with the necessary fixes.
The text was updated successfully, but these errors were encountered: