Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit 04c3a5b

Browse files
committed
[elasticsearch] add value to disable tests
1 parent 0ff3a3c commit 04c3a5b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

elasticsearch/templates/test/test-elasticsearch-health.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
{{- if .Values.tests.enabled -}}
23
apiVersion: v1
34
kind: Pod
45
metadata:
@@ -24,3 +25,4 @@ spec:
2425
{{ toYaml .Values.imagePullSecrets | indent 4 }}
2526
{{- end }}
2627
restartPolicy: Never
28+
{{- end -}}

elasticsearch/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ networkPolicy:
338338
# values:
339339
# - frontend
340340

341+
tests:
342+
enabled: true
343+
341344
# Deprecated
342345
# please use the above podSecurityContext.fsGroup instead
343346
fsGroup: ""

0 commit comments

Comments
 (0)