mirror of https://github.com/helm/helm
Signed-off-by: Tarun Kumar <fidato.july13@gmail.com>pull/8651/head
parent
64d4399f06
commit
c165a66c90
@ -0,0 +1,25 @@
|
||||
# comment on first line
|
||||
{{- if .Values.condition }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
# Metadata
|
||||
metadata:
|
||||
name: mychart-configmap-1
|
||||
namespace: default
|
||||
data:
|
||||
myvalue: "Hello World"
|
||||
{{- end }}
|
||||
|
||||
---
|
||||
|
||||
# comment on first line
|
||||
{{- if .Values.condition }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
# Metadata
|
||||
metadata:
|
||||
name: mychart-configmap-2
|
||||
namespace: default
|
||||
data:
|
||||
myvalue: "Hello World"
|
||||
{{- end }}
|
@ -1 +1,2 @@
|
||||
name: "mariner"
|
||||
condition: false
|
||||
|
Loading…
Reference in new issue