Yujun Zhang
a161796dc4
feat: Allow overriding chart via flag ( #1751 )
...
Adds `--chart` flag for overriding the selected release's chart ad-hoc-ly like `helmfile --chart $CHART template`.
This is handy when e.g. you want to have an ArgoCD application per each release in your helmfile.yaml, while also providing the ability to customize the release's chart without touching helmfile.yaml.
See https://github.com/roboll/helmfile/issues/1690#issuecomment-812321354 for more context.
Closes #1690
2021-04-06 13:20:41 +09:00
Javier Palacios
261367e7e9
Add `kubectl` hooks for applying file(s) or kustomize ( #1736 )
...
This enables you to write a `kubectl-apply` hook more declaratively than writing `command` and `args`:
```
releases:
- name: myapp
chart: mychart
hooks:
- events: ["presync"]
kubectlApply:
filename: path/to/manifests
#kustomize: path/to/kustomize
```
2021-04-06 13:16:35 +09:00
Quan TRAN
5cd0afcfa0
Add documentation about helmfile-fetch and StateValues alias ( #1746 )
...
Ref #1743 , #1744 , #1734
2021-04-01 09:48:58 +09:00
Quan TRAN
1748cbfcea
Add .StateValues as alias of .Values in releaseTemplateDataRelease ( #1744 )
...
Ref #1743
2021-04-01 09:47:12 +09:00
Nenad Strainovic
200cae2a68
feat: --show-secrets on diff and apply commands ( #1749 )
...
Resolves #1674
2021-04-01 09:41:53 +09:00
astorath
b1b7831a90
feat: make --kube-context override helmDefaults ( #1673 )
...
This would allow cli flag `--kube-context` to override value in helmDefaults allowing to use different values in local development and CI context.
Co-authored-by: Andrey Tuzhilin <andrey@3adigital.ru>
2021-03-30 16:53:19 +09:00
Quan TRAN
53c6d2f988
Add helmfile-fetch command to downloading and generating charts ( #1734 )
2021-03-30 16:26:31 +09:00
Yusuke Kuoka
faa74962e6
Fix helmfile-template not writing to stdout ( #1737 )
...
This fixes #1691 by redirecting helm-template output to our logger when and only when --output-dir is being passed to helm-template.
See https://github.com/roboll/helmfile/pull/1691#issuecomment-805636021 for more context.
2021-03-25 10:16:52 +09:00
Gregoire Menuel
28cf300ef2
Add support for kubeContext in environments ( #1675 )
...
Resolves #898
Resolves #1689
Co-authored-by: Gregoire Menuel <gregoire.menuel@veolia.com>
2021-03-23 18:06:53 +09:00
Chris Mellard
e9d1c8534c
feat: change to helmfile template so it respects logging levels ( #1691 )
2021-03-23 18:02:13 +09:00
astorath
aafe74a3e1
Fix/secrets ordering ( #1726 )
...
Fixes issue introduced in #790 : the order of secrets merged is not defined now, leading to unpredictable results in `helmfile apply`.
2021-03-23 18:00:57 +09:00
Andrey Tuzhilin
db9d31ac06
test: fix DecryptSecret output
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
4a9d753441
feat: make integration/vagrant
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
4efaa656f9
test: return all tests
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
59f4043fc5
fix: fixed secrets decryption failed issue
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
d04cd1b1a7
test: fix "Ensure helmfile fails when no helm-secrets is installed" test
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
781c4e9ebe
test: fix "Ensure helmfile fails when no helm-secrets is installed" test
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
0c9934c357
test: ensure bash -eo pipefail (as in circleci)
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
2983f5cd28
test: fix vault provisioning code
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
7610d8d3c6
test: add secrets integration tests
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
5cd853b773
test: add vault and sops for integration secret testing
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
f1c07879ad
ci: simplify integration tests ci code for helm2
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
d1a2435ce1
ci: simplify integration tests ci code
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
45b8eb6942
test: fix helm2 integration tests
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
17a969ce83
ci: verify new integration tests
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
4f02196dad
test: reusable integration test
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
85f19b6abd
fix: gitignore *.lock
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
42138d88bf
test: vagrant for integration tests
2021-03-23 17:19:40 +09:00
Andrey Tuzhilin
2ef09d45ee
test: sync HELM_VERSION and KUSTOMIZE_VERSION for tests
2021-03-23 16:58:56 +09:00
Andrey Tuzhilin
9b2a770dbe
feat(Dockerfile): pin helm-secrets version
2021-03-23 16:58:56 +09:00
Andrey Tuzhilin
6085730a91
fix(Makefile): static-linux mod
2021-03-23 16:58:56 +09:00
Andrey Tuzhilin
94a8658635
feat(Dockerfile): bump helm version
2021-03-23 16:58:56 +09:00
Jason Witkowski
2618cfb38b
Enable --wait-for-jobs flag introduced in helm 3.5 ( #1715 )
...
Fixes #1650
Fixes #785
This change introduces:
- `--wait-for-jobs` CLI override option to helmfile binary
- `waitForJobs` helmDefaults parameter (default `false`)
- `waitForJobs` release parameter (default `false`)
Note that `--wait-for-jobs` was introduced in Helm 3.5 (https://github.com/helm/helm/pull/8363 )
2021-03-23 16:53:57 +09:00
Rein van 't Veer
fcf9a7273f
Improve error message on deps resolution error ( #1727 )
...
Fixes #1356
2021-03-23 16:44:59 +09:00
Quan TRAN
5ce755e4d8
Add chart & version to list cmd output ( #1731 )
2021-03-23 16:29:48 +09:00
Quan TRAN
b7d6639b25
(fix) remove usage of charts.yaml in error message ( #1732 )
2021-03-23 16:27:51 +09:00
Nick Perry
95759958b5
Add William Hill to USERS.md ( #1735 )
2021-03-23 16:03:48 +09:00
kupnu4x
8ed8a9eab3
allow to access oci repos without auth ( #1711 )
...
* allow to access oci repos without auth
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2021-03-09 10:23:36 +09:00
Nathan Flynn
14a83e7cbe
Update reference for helm-secrets to latest maintained fork ( #1676 )
...
* Update referance for helm-secrets to latest maintained fork
* Missed a referance in the docs to an older edition of helm secrets
* Removed docker2 changes back to original method
Co-authored-by: Nathan Flynn <nflynn@williamhill.co.uk>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2021-03-09 10:17:16 +09:00
Thomas Loubiou
bf9f36b2bb
refactor: simplify pull channel from #1706 ( #1707 )
2021-03-09 10:16:04 +09:00
Quan TRAN
3215eaf710
panic with clear message ( #1709 )
2021-03-09 10:13:24 +09:00
Justin Chizer
927bd30fa0
Update README.md to show current CLI Output ( #1712 )
2021-03-09 10:12:41 +09:00
Yusuke Kuoka
247ae9108c
Disable darwin/386 build to avoid release failure
2021-03-04 10:27:39 +09:00
Nathan Flynn
97f0e59cfd
Update README.md ( #1677 )
...
Added docs to Readme for disableValidationOnInstall
2021-03-04 09:33:22 +09:00
Quan TRAN
56405e7445
panic with a clear message ( #1693 )
2021-03-04 09:32:50 +09:00
Mark Ayers
42c97cd919
Update README.md ( #1696 )
...
- replace deprecated helm-secrets with the currently active helm-secrets
```plain
Deprecation Info
Please note, this project is no longer being maintained.
Link to active helm-secret plugin could be found in helm documentation: https://helm.sh/docs/community/related/#helm-plugins
```
2021-03-04 09:31:40 +09:00
Thomas Loubiou
65317e96f6
Fix incorrect chart bug in multi-cluster setup ( #1698 )
...
When the same release name is used accross namespaces/kubecontexts
a bad chart name could be used
Fixes #1694
2021-03-04 09:29:44 +09:00
Thomas Loubiou
453b498ccb
fix: pull OCI charts one by one ( #1706 )
...
* fix: pull OCI charts one by one
* fix: gofmt
2021-03-04 09:24:22 +09:00
RaymondKYLiu
19cbea49f7
Update USERS.md ( #1702 )
...
Add Trend Micro to user list
2021-03-02 14:28:54 +09:00
Jason Witkowski
bd3838c059
Add ability to specify and override helmDefaults.wait via cli ( #1678 )
2021-02-24 12:47:27 +09:00