yxxhero
ac23def893
add Go lint
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-16 20:21:11 +08:00
austin ce
eb3484d4a8
Rename module to github.com/helmfile/helmfile
...
Also updates a few more references to the roboll/helmfile repository,
where possible.
Signed-off-by: austin ce <austin.cawley@gmail.com>
2022-05-18 10:05:07 -04:00
yxxhero
88f17e6c9a
fix more go lint warn
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-20 16:26:06 +08:00
Anton Bretting
2f04831817
Fix various golangci-lint errors ( #2059 )
2022-02-12 20:28:08 +09:00
Yusuke Kuoka
ab9fb2c9dc
Fix concurrent-map-iteration-and-write errors while running release hooks ( #1534 )
...
Fixes #1495
2020-10-13 14:49:01 +09:00
Johannes Alkjær
9d2c0d4285
Bump sprig to v3.1.0 and mergo 3.11 ( #1456 )
...
* Bump sprig to v3.1.0
test for mergeOverwrite
* Let mergo not (accidentally) try to merge unexported fields
This is also a good chance separate `HelmState` with the config loaded from YAML, which I had been wanting to do for a long time.
Co-authored-by: Johannes Alkjær <johannes.alkjaer@wunderman.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2020-09-04 09:58:54 +09:00
Yusuke Kuoka
0fc0869671
feat: `helmfile build --embed-values` to embed release values and secrets into the output ( #1436 )
2020-08-29 13:18:17 +09:00
KUOKA Yusuke
3f02b86640
fix: Fix `needs` to work for upgrades and when selectors are provided ( #922 )
...
* fix: Fix `needs` to work for upgrades and when selectors are provided
Fixes #919
* Add test framework for `helmfile apply`
* Various enhancements and fixes to the DAG support
- Make the order of upgrades/deletes more deterministic for testability
- Fix the test framework so that we can validate log outputs and errors
- Add more test cases for `helmfile apply`, along with bug fixes.
- Make sure it fails with an intuitive error when you have non-existent releases referenced from witin "needs"
2019-11-02 14:04:16 +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
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
sgandon
11eda66eaa
feat: make release version templatized ( #671 )
...
Allows the release version to be a Go template.
Resolves #669
2019-06-11 21:52:54 +09:00
KUOKA Yusuke
c68fc5bc50
chore: tidy up pkgs ( #636 )
...
for readability and towards potentially making helmfile usable as a go library
2019-06-01 13:36:05 +09:00