[stable/elasticsearch]: Fixed invalid auth yaml when no annotations (#13886)

Signed-off-by: Leon Blakey <leon.m.blakey@gmail.com>
This commit is contained in:
Leon Blakey
2019-06-27 15:19:23 -07:00
committed by Kubernetes Prow Robot
parent 99eedcbdef
commit 1fc0ca9191
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.29.0
version: 1.29.1
appVersion: 6.7.0
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
@@ -11,8 +11,8 @@ metadata:
component: "{{ .Values.client.name }}"
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- with .Values.client.ingress.annotations }}
annotations:
{{- with .Values.client.ingress.annotations }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- if and ( .Values.client.ingress.user ) ( .Values.client.ingress.password ) }}