Rajat Goyal
10a9a16f3d
Fix: Change use of `tmpl` to `gotmpl` in README ( #870 )
...
This adds clarity in docs by:
- Changing references to the supported file extension
- Previously, using `values.tmpl` in helmfile.yaml would throw errors. `values.gotmpl` gives expected output
2019-09-26 09:02:21 +09:00
art kon
ba2e522617
doc: Added some detail on how to use override values in helmfiles section ( #861 )
...
* Added some detail on how to use override values in helmfiles section
Co-Authored-By: KUOKA Yusuke <ykuoka@gmail.com>
2019-09-20 10:21:53 +09:00
KUOKA Yusuke
2e98e907b0
fix: invalid duration passed to helm 3 upgrade ( #864 )
...
Fixes #863
2019-09-19 08:30:29 +09:00
Mike Splain
b762ab0b78
Fix delete/destroy ( #859 )
2019-09-17 15:04:04 +09:00
Theo Meneau
216c228c0b
feat: `helm repo add --ca-file` via repositories definition ( #856 )
...
Resolves #855
2019-09-14 06:23:54 +02:00
KUOKA Yusuke
ef63a05513
fix(helm3): delete/destroy/apply/sync unable to detect releases to be deleted ( #857 )
...
Fixes #853
2019-09-14 06:23:22 +02:00
art kon
06b0c99a0b
Fix recursion for helmfiles pulled from git ( #854 )
2019-09-14 05:49:59 +02:00
eddycharly
fd0133e10a
Update documentation and tests for .Values ( #839 )
...
Resolves #816
2019-09-14 05:35:16 +02:00
KUOKA Yusuke
9d851cda3b
feat: `--skip-repos` for `helmfile deps` ( #851 )
...
Resolves #661
2019-09-12 19:33:18 +09:00
KUOKA Yusuke
f79db2ec8d
feat(diff,apply,lint,sync,template): `--set k=v` for setting adhoc chart values ( #850 )
...
Resolves #840
2019-09-12 19:24:43 +09:00
KUOKA Yusuke
94a6fcfb9f
feat(diff,apply): --context=N for limiting diff context ( #849 )
...
Resolves #787
2019-09-12 18:36:13 +09:00
KUOKA Yusuke
fb2041555e
feat(diff,apply): --no-color for removing color from output ( #848 )
...
Resolves #788
2019-09-12 18:32:30 +09:00
刘相轩
cbf5b8b1e7
Fix helm2 lock file does not get updated ( #847 )
...
Ref: https://github.com/helm/helm/issues/2731
2019-09-12 17:58:16 +09:00
matthias-kloeckner
267e0fa1fe
adding info about kloeckner-i to users list ( #843 )
2019-09-11 12:48:00 +09:00
Shane Starcher
5488198d6d
fix: allow empty pattern matching and move on ( #827 )
...
Ref #778
2019-09-11 12:47:00 +09:00
KUOKA Yusuke
4bbd09ccb2
fix(cmd/deps): make `helmfile deps` to work w/ helm 3.0.0-beta.3 ( #842 )
...
Ref https://github.com/roboll/helmfile/issues/668#issuecomment-529054165
2019-09-07 22:06:29 +09:00
KUOKA Yusuke
4e4f1bee59
feat: Experimental Helm v3 mode ( #841 )
...
Set `HELMFILE_HELM3=1` and run `helmfile` like `HELMFILE_HELM3=1 helmfile ...`.
When `HELMFILE_HELM3` is set, `test`, `template`, `delete`, `destroy` behave differently so that it works with Helm 3.
Note that `helmfile diff` doesn't work as `helm-diff` called under the hood doesn't support Helm v3 yet.
Ref #668
2019-09-07 09:40:44 +09:00
a-hat
6dfc9be0d1
doc: Update documentation about layering release values ( #837 )
...
Closes #836
2019-09-06 09:29:08 +09:00
chenrui
1823bb1e5b
Fix apache thrift location issue ( #835 )
...
Relates to Homebrew/homebrew-core#43728
Fixe #834
2019-09-04 12:19:14 +09:00
KUOKA Yusuke
4bc99337b2
Make advanced templating backward-compatible ( #833 )
...
This is a follow-up for #823
Ref https://github.com/roboll/helmfile/pull/823#discussion_r319712283
2019-08-31 22:37:46 +09:00
Tibo Beijen
01ae59fedd
add helm-tiller plugin to docker image ( #825 )
2019-08-31 14:38:36 +09:00
Shane Starcher
2a6bd24e3c
move context outside to limit duplicate repo updates ( #828 )
2019-08-31 14:32:48 +09:00
astorath
11d0abba6e
feat: Advanced Templating ( #823 )
...
1. Added `helmfile build` command to print final state
Motivation: useful for debugging purposes and some CI scenarios
Ref #780
2. Template interpolation is now recursive (you can cross-reference release fields) like:
```yaml
templates:
release:
name: {{`app-{{ .Release.Namespace }}`}}
namespace: {{`{{ .Release.Labels.ns }}`}}
labels:
ns: dev
```
3. Experimental: Added some boolean release fields interpolation in templates:
```yaml
templates:
release:
name: {{`app-{{ .Release.Namespace }}`}}
namespace: dev
installedTemplate: {{`{{ eq .Release.Namespace "dev" }}`}}
```
Resolves #818
4. Added more template interpolations: Labels, SetValues
5. Added template interpolation for inline Values
6. Added `helmfile list` command to print target releases in simple tabular form
7. Added release names in some `helm` output messages, e.g.: `Comparing release=%v, chart=%v`
2019-08-31 14:31:31 +09:00
Yusuke Kuoka
dd58badf81
release: skip building against s390x
...
Please notice me if anyone is using Helmfile on it
2019-08-24 10:50:18 +09:00
Yusuke Kuoka
e24c15324b
Revert "release: skip downloading go modules in container image builds ( #821 )"
...
This reverts commit ba0891b7b7 .
2019-08-24 10:37:01 +09:00
KUOKA Yusuke
ba0891b7b7
release: skip downloading go modules in container image builds ( #821 )
...
So that the release process can be (probably) 2x faster
2019-08-24 10:29:26 +09:00
KUOKA Yusuke
b58e082a8f
Merge pull request #820 from roboll/fix-incorrect-remote-cache-on-miss
...
fix: clean up invalid remote state file cache
2019-08-24 10:01:48 +09:00
Yusuke Kuoka
bf9dcc0982
release: Make the release process faster
2019-08-24 09:59:46 +09:00
Yusuke Kuoka
cd5d906afb
fix: clean up invalid remote state file cache
...
Fixes #815
2019-08-24 09:47:49 +09:00
Travis Groth
a584aeab2e
Share helmexec from State Creation ( #804 )
...
Closes #444 and #782
This is the final PR to fully cache and parallelize helm secret decryption. It threads the shared helmexec.Interface into the StateCreator and HelmState structs to be used during environment secret decryption. This should effectively cache secrets for the duration of a helmfile run, regardless of where they are first decrypted.
2019-08-15 09:27:55 +09:00
Travis Groth
765bfe6cfd
Handle environment secrets concurrently
...
Ref #782
2019-08-13 09:23:29 +09:00
Jake Hill
622cba9f19
Add kubectl and jq to Dockerfile ( #799 )
...
* Add kubectl and jq to Dockerfile
Signed-off-by: Jake Hill <jake@naphta.uk>
* Update kubectl to use checksum verification, and pin to a specific version
Signed-off-by: Jake Hill <jake@naphta.uk>
Resolves #792
2019-08-08 21:24:46 +09:00
Travis Groth
63a337ee57
Base concurrency on items parameter ( #798 )
...
Fixes #793
2019-08-08 10:20:05 +09:00
Travis Groth
6baad71b1f
Cache secrets and concurrent decryption ( #790 )
...
Related to #782 and #444
- Allows concurrent decryption of different secrets files
- Caches decrypted secrets by original file path and returns decrypted results from memory
- Secrets being run through an instance of helmexec will be cached and run as fast as possible concurrently
NB: This particular PR doesn't make _all_ calls to secrets cached and concurrent. Environment Secrets in particular seem to not be evaluated with a ScatterGather(), and doesn't use the same helmexec instance as other parts of the code, so it doesn't take advantage of these changes. Some reworking of the plumbing there would be needed.
2019-08-07 23:00:19 +09:00
OlivierB
bce2f4728b
fix: pass namespace to helm template command ( #771 )
...
Resolves #770
2019-07-30 10:44:42 +09:00
a-hat
e5038fb04f
print yaml content on error in fromYaml ( #765 )
2019-07-30 10:43:30 +09:00
bitsofinfo
fe5102e777
users update ( #750 )
2019-07-30 10:42:47 +09:00
KUOKA Yusuke
eda961edc2
fix: --state-values-set not setting more than first child in nested paths ( #774 )
...
Fixes #773
2019-07-27 22:57:54 +09:00
KUOKA Yusuke
b2a6231dcf
fix: absolute chart path ( #753 )
...
Resolves #743
2019-07-12 22:37:54 +09:00
Marc Sutter
4166b418c9
feat: Adopt existing K8s resources as Helm release on install ( #746 )
...
Use with the helm-x support(#673 )
This enhances config syntax to accept adopt: [NS/KIND/RESOURCE_NAME] at the release level so that helmfile calls helm-x to transparently import existing resources at the installation time.
Resolves #84
2019-07-11 09:13:34 +09:00
Naseem
408bf7b8bf
Update USERS.md ( #744 )
2019-07-11 09:10:13 +09:00
OlivierB
2f9f52033c
feat: add --output-dir on template command ( #693 )
...
It generates templates in a subdirectory named "stateFileName-stateFileHash-releaseName"
2019-07-11 09:07:46 +09:00
KUOKA Yusuke
63b5040ec4
fix: `fatal error: concurrent map read and map write` on concurrency > 1 ( #742 )
...
This is a revised version of 41e44f74a3 , which doesn't make CI angry and a more straight-forward(yet smelling) implementation
Fixes #737
2019-07-05 09:20:16 +09:00
bitsofinfo
4cc40cf0f1
Upgrade to sprig 2.20.0 and xstrings 1.2.0 ( #735 )
...
Needed for new functions and bug fixes
Resolves #733
Resolves #734
2019-07-02 10:12:14 +09:00
Clément Loiselet
1df9b0e9e9
fix: enabled '=' in a value for --state-values-set ( #722 )
...
This adds the possibility to use a "=" in the parameters passed to --state-values-set
previous comportment:
`helmfile --state-values-set 'test="abcde==fg",test2="abcde"'` => outputs 'test="abcde",test2="abcde"'
new comportment:
`helmfile --state-values-set 'test="abcde==fg",test2="abcde"'` => outputs 'test="abcde==fg",test2="abcde"'
2019-06-28 10:12:28 +09:00
KUOKA Yusuke
b82f77ee50
fix: Absolute paths for -f not working on Windows ( #721 )
...
Fixes #718
2019-06-25 20:06:07 +09:00
KUOKA Yusuke
e6bb8282db
fix: remote helmfile from git::ssh source ( #719 )
...
The remote helmfile feature introduced by #648 was unable to be sourced from private git repositories due to URL parsing issue in helmfile. This fixes that.
Ref https://github.com/roboll/helmfile/issues/469#issuecomment-505236600
2019-06-25 12:45:56 +09:00
Max Williams
b6a04d012c
Change link in README to newer tag (again) ( #717 )
2019-06-21 18:31:00 +09:00
Max Williams
9eef44ffe6
Change link in README to newer tag ( #716 )
...
Closes #710
Fixed a couple very small typos also.
2019-06-21 18:18:36 +09:00
KUOKA Yusuke
cfe309ec21
fix: do not panic on merging env secrets ( #713 )
...
Fixes #712
2019-06-21 00:10:11 +09:00