Skip to content

Commit a5d48cd

Browse files
committed
Add if statment for configMap
1 parent df4a329 commit a5d48cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ data:
1111
MARKLOGIC_INIT: "true"
1212
MARKLOGIC_JOIN_CLUSTER: "true"
1313
---
14+
{{- if .Values.logCollection.enabled }}
1415
apiVersion: v1
1516
kind: ConfigMap
1617
metadata:
@@ -137,3 +138,4 @@ data:
137138
Format json
138139
Time_Key time
139140
Time_Format %Y-%m-%dT%H:%M:%S%z
141+
{{- end }}

0 commit comments

Comments
 (0)