This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 197
Deprecate "-" globally #19
Labels
Comments
3 tasks
I couldn't get that |
storageClassName: {{ if (kindIs "invalid" $values.storageClass) }}""{{- else }}{{ $values.storageClass | quote }}{{- end }} If I do this, and provide |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 45 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Originally posted by @bjw-s in #14 (comment)
In the same sprig issue, a proper fix was defined:
Originally posted by @jkroepke in Masterminds/sprig#53 (comment)
By changing anything that was
"-"
to a nil value either implicitly or explicitly, you can test for itThis could not only fix the verbosity concern of
"-"
but additionally allow the common charts that have commented out defaults become uncommented with a nil value to test for existence and optionally requirementThe text was updated successfully, but these errors were encountered: