Make old ECK resources optional
This commit is contained in:
parent
1398484af8
commit
fba3e8bfc4
|
@ -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 }}
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue