We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
omit
pick
It was surprising to me to learn that omit and pick do not support a pipe signature, as it reads natural to me.
{{- range $key, $value := include "myConf" . | fromYaml | omit "somekey" -}} {{- dict "one" 1 "two" 222222 | pick "two" -}}
{{- range $key, $value := include "myConf" . | fromYaml | omit "somekey" -}}
{{- dict "one" 1 "two" 222222 | pick "two" -}}
Instead it errors out
can't handle "xy" for arg of type map[string]interface {}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It was surprising to me to learn that
omit
andpick
do not support a pipe signature, as it reads natural to me.{{- range $key, $value := include "myConf" . | fromYaml | omit "somekey" -}}
{{- dict "one" 1 "two" 222222 | pick "two" -}}
Instead it errors out
can't handle "xy" for arg of type map[string]interface {}
The text was updated successfully, but these errors were encountered: