Make old ECK resources optional

This commit is contained in:
Stefan Reimer 2020-08-17 13:12:07 +01:00
parent b2e6911ca8
commit 05da44c191
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,4 @@
{{- if .Values.es.nodeSets }}
apiVersion: v1
kind: Namespace
metadata:
@ -3056,3 +3057,4 @@ spec:
secret:
defaultMode: 420
secretName: elastic-webhook-server-cert
{{- end }}

View File

@ -1,4 +1,5 @@
{{- if .Values.kibana }}
{{- if .Values.es.nodeSets }}
# Only deploy Kibana if we have local ES cluster
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:

View File

@ -1,3 +1,4 @@
{{- if .Values.es.nodeSets }}
apiVersion: v1
kind: Secret
type: Opaque
@ -12,3 +13,4 @@ metadata:
data:
username: {{ "elastic" | b64enc | quote }}
elastic: {{ .Values.elastic_password | b64enc | quote }}
{{- end }}

View File

@ -0,0 +1,6 @@
# Default values for zdt-logging.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
kibana:
count: 0