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),
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)
}

@ -1,17 +1,6 @@
---
# 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"
NAME: alt-delim
LAST DEPLOYED: Fri Sep 2 22:04:05 1977
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None

@ -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