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
Jeroen Demeyer
b99daa3605
Allow combining valuesTemplate and values, same for setTemplate ( #938 )
...
* Allow combining valuesTemplate and values, same for setTemplate
* Add testcase for valuesTemplate and setTemplate
2019-11-15 08:52:10 +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
3710f6233e
feat: state values ( #647 )
...
This adds `values` to state files as proposed in #640 .
```yaml
values:
- key1: val1
- defaults.yaml
environments:
default:
- values:
- environments/default.yaml
production:
- values:
- environments/production.yaml
```
`{{ .Valuese.key1 }}` evaluates to `val1` if and only if it is not overrode via the production or the default env, or command-line args.
Resolves #640
2019-06-04 16:34:02 +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