Make old ECK resources optional
This commit is contained in:
parent
1398484af8
commit
fba3e8bfc4
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.es.nodeSets }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -3056,3 +3057,4 @@ spec:
|
||||||
secret:
|
secret:
|
||||||
defaultMode: 420
|
defaultMode: 420
|
||||||
secretName: elastic-webhook-server-cert
|
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
|
apiVersion: kibana.k8s.elastic.co/v1
|
||||||
kind: Kibana
|
kind: Kibana
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.es.nodeSets }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
@ -12,3 +13,4 @@ metadata:
|
||||||
data:
|
data:
|
||||||
username: {{ "elastic" | b64enc | quote }}
|
username: {{ "elastic" | b64enc | quote }}
|
||||||
elastic: {{ .Values.elastic_password | 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