Skip to content

Commit 4cb8998

Browse files
amphinekokgrubb
andauthored
fix incorrect indent in deployment template when ECS is enabled (#59)
* fix incorrect indent in deployment template when ECS is enabled * fix incorrect GEOIPUPDATE_FREQUENCY env var container --------- Co-authored-by: Keli (Madison) Grubb <madison@elastiflow.com>
1 parent 7c77e1e commit 4cb8998

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

charts/netobserv/templates/deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ spec:
5656
{{- end }}
5757
- name: GEOIPUPDATE_DB_DIR
5858
value: /data
59-
{{- if .Values.maxmind.geoipEnabled }}
60-
- name: GEOIPUPDATE_FREQUENCY
61-
value: "{{ .Values.maxmind.geoipUpdateFrequency }}"
62-
{{- end }}
6359
volumeMounts:
6460
- name: geolite2-data
6561
mountPath: /data
@@ -88,7 +84,7 @@ spec:
8884
key: {{ .Values.outputElasticsearch.secretKey }}
8985
{{- if .Values.outputElasticsearch.ecs.enabled }}
9086
- name: EF_OUTPUT_ELASTICSEARCH_ECS_ENABLE
91-
value: 'true'
87+
value: 'true'
9288
{{- end }}
9389
{{- if .Values.outputElasticsearch.tls.enabled }}
9490
- name: EF_OUTPUT_ELASTICSEARCH_TLS_ENABLE
@@ -195,6 +191,10 @@ spec:
195191
{{- end }}
196192
- name: GEOIPUPDATE_DB_DIR
197193
value: /data
194+
{{- if .Values.maxmind.geoipEnabled }}
195+
- name: GEOIPUPDATE_FREQUENCY
196+
value: "{{ .Values.maxmind.geoipUpdateFrequency }}"
197+
{{- end }}
198198
volumeMounts:
199199
- name: geolite2-data
200200
mountPath: /data

0 commit comments

Comments
 (0)