woodpecker-helm3/internal/helm
Erin Call e2f53f3b08
Process non-prefixed forms of all config settings [#9]
Trying to guess in advance which part of the config a user will put in
the `settings` section and which they'll put in `environment` is a
fool's errand. Just let everything go in either place.

The ServiceAccount field only had an `envconfig` tag (as opposed to
`split_words`) because that triggered envconfig to look for the non-
prefixed form. Now that we're finding non-prefixed forms of everything,
we can use the clearer/more concise tag.

Note that TestPopulateWithConflictingVariables isn't meant to say
"here's what behavior we *want*" so much as "here's what the behavior
*is*." I don't think one thing is any better than the other, but we
should know which one we're getting.
2019-12-23 15:34:08 -08:00
..
config.go Process non-prefixed forms of all config settings [#9] 2019-12-23 15:34:08 -08:00
config_test.go Process non-prefixed forms of all config settings [#9] 2019-12-23 15:34:08 -08:00
mock_step_test.go Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
plan.go Always use the default kubeconfig file path [#20] 2019-12-23 12:47:16 -08:00
plan_test.go Always use the default kubeconfig file path [#20] 2019-12-23 12:47:16 -08:00