helmfile/pkg/app
Marcin Kaciuba b1190508b2
feat(template): added secret template function (#1221)
* feat(tmpl): added fetchSecretValue template function

This adds a tmpl `fetchSecretValue` and `expandSecretRefs` function by:
- Adding:
    - `expandSecretRefs` function in tmpl package that uses vals
    package to fetch secrets
    - `fetchSecretValue` function in tmpl package like below but for
    single string value
    - gomock for tests purpose
- Changing:
    - move init of vals package to function (so the same instance can be used for template values and rendering the whole template)

* doc(secret): added doc how to use new tmpl methods

Added example usage of `fetchSecretValue` and `expandSecretRefs`
2020-04-25 21:10:02 +09:00
..
version feat: Persist Helmfile version in helmfile.lock for version compatibility check (#1016) 2019-12-11 09:19:18 +09:00
app.go feat(template): added secret template function (#1221) 2020-04-25 21:10:02 +09:00
app_test.go Bump golang to v1.14.2 (#1132) 2020-04-21 09:06:29 +09:00
ask.go feat: helmfile as a go library (#639) 2019-06-04 09:12:00 +09:00
config.go New output flag for list command (#1215) 2020-04-18 21:11:12 +09:00
constants.go feat: "bases" for easier layerina 2019-05-13 21:48:00 +09:00
constants_test.go Bump golang to v1.14.2 (#1132) 2020-04-21 09:06:29 +09:00
context.go chore: tidy up pkgs (#636) 2019-06-01 13:36:05 +09:00
desired_state_file_loader.go feat: Emit clear error message instead of panic on empty chart name (#1171) 2020-04-04 15:32:22 +09:00
destroy_test.go feat: `helmfile diff --detailed-exitcode` should also detect deletions (#1186) 2020-04-10 08:22:33 +09:00
diff_test.go feat: `helmfile diff --detailed-exitcode` should also detect deletions (#1186) 2020-04-10 08:22:33 +09:00
errors.go feat: Opt-out dep-builds and repo-updates (#463) 2019-02-04 12:07:25 +09:00
formatters.go New output flag for list command (#1215) 2020-04-18 21:11:12 +09:00
load_opts.go feat: `helmBinary` in helmfile.yaml (#1160) 2020-03-29 17:51:07 +09:00
mocks_test.go feat: `helmBinary` in helmfile.yaml (#1160) 2020-03-29 17:51:07 +09:00
run.go feat: `helmfile diff --detailed-exitcode` should also detect deletions (#1186) 2020-04-10 08:22:33 +09:00
two_pass_renderer.go Fix: populate .Values regardless of prestate success (#1202) 2020-04-17 09:18:01 +09:00
two_pass_renderer_test.go Update documentation and tests for .Values (#839) 2019-09-14 05:35:16 +02:00