diff --git a/elasticsearch/templates/test/test-elasticsearch-health.yaml b/elasticsearch/templates/test/test-elasticsearch-health.yaml index dd5eaa043..567ff0559 100644 --- a/elasticsearch/templates/test/test-elasticsearch-health.yaml +++ b/elasticsearch/templates/test/test-elasticsearch-health.yaml @@ -1,4 +1,5 @@ --- +{{- if .Values.tests.enabled -}} apiVersion: v1 kind: Pod metadata: @@ -24,3 +25,4 @@ spec: {{ toYaml .Values.imagePullSecrets | indent 4 }} {{- end }} restartPolicy: Never +{{- end -}} \ No newline at end of file diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml index 9ef799b83..2e9ee99cf 100755 --- a/elasticsearch/values.yaml +++ b/elasticsearch/values.yaml @@ -338,6 +338,9 @@ networkPolicy: # values: # - frontend +tests: + enabled: true + # Deprecated # please use the above podSecurityContext.fsGroup instead fsGroup: ""