Make advanced templating backward-compatible (#833)

This is a follow-up for #823
Ref https://github.com/roboll/helmfile/pull/823#discussion_r319712283
This commit is contained in:
KUOKA Yusuke
2019-08-31 22:37:46 +09:00
committed by GitHub
parent 01ae59fedd
commit 4bc99337b2
4 changed files with 81 additions and 65 deletions
+3 -3
View File
@@ -102,7 +102,7 @@ Release Templating supports the following parts of release definition:
- `set` block values:
```yaml
# ...
set:
setTemplate:
- name: '{{`{{ .Release.Name }}`}}'
values: '{{`{{ .Release.Namespace }}`}}'
# ...
@@ -110,7 +110,7 @@ Release Templating supports the following parts of release definition:
- `values` and `secrets` file paths:
```yaml
# ...
values:
valuesTemplate:
- config/{{`{{ .Release.Name }}`}}/values.yaml
secrets:
- config/{{`{{ .Release.Name }}`}}/secrets.yaml
@@ -119,7 +119,7 @@ Release Templating supports the following parts of release definition:
- inline `values` map:
```yaml
# ...
values:
valuesTemplate:
- image:
tag: `{{ .Release.Labels.tag }}`
# ...