Signed-off-by: Neer Friedman <neerfri@gmail.com>
pull/10299/head
Neer Friedman 4 years ago
parent 84b58ceb44
commit bd86939a38
No known key found for this signature in database
GPG Key ID: 775DBDCAD60A077C

@ -131,6 +131,11 @@ func TestTemplateCmd(t *testing.T) {
cmd: fmt.Sprintf(`template '%s' --skip-tests`, chartPath), cmd: fmt.Sprintf(`template '%s' --skip-tests`, chartPath),
golden: "output/template-skip-tests.txt", golden: "output/template-skip-tests.txt",
}, },
{
name: "template chart-with-alt-delim",
cmd: "template alt-delim testdata/testcharts/chart-with-alt-delim",
golden: "output/template-chart-with-alt-delim.txt",
},
} }
runTestCmd(t, tests) runTestCmd(t, tests)
} }

@ -1,17 +1,6 @@
--- NAME: alt-delim
# Source: chart-with-alt-delim/templates/alt-configmap.yaml LAST DEPLOYED: Fri Sep 2 22:04:05 1977
# helm: delim=[,] NAMESPACE: default
apiVersion: v1 STATUS: deployed
kind: ConfigMap REVISION: 1
metadata: TEST SUITE: None
name: alt-delim-chart-with-alt-delim-alt
data:
myvalue: "Hello {{world}}"
---
# Source: chart-with-alt-delim/templates/normal-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: alt-delim-chart-with-alt-delim-normal
data:
myvalue: "Hello world"

@ -0,0 +1,17 @@
---
# Source: chart-with-alt-delim/templates/alt-configmap.yaml
# helm: delim=[,]
apiVersion: v1
kind: ConfigMap
metadata:
name: alt-delim-chart-with-alt-delim-alt
data:
myvalue: "Hello {{world}}"
---
# Source: chart-with-alt-delim/templates/normal-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: alt-delim-chart-with-alt-delim-normal
data:
myvalue: "Hello world"
Loading…
Cancel
Save