Add enabled option

This commit is contained in:
dvirlabs 2025-05-25 03:55:22 +03:00
parent ce69d105ee
commit 489c2a0a0d
5 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1,3 @@
enabled: false
env: int
host: kibana-int.dvirlabs.com

View File

@ -1,3 +0,0 @@
# env: int
# host: kibana-int.dvirlabs.com

View File

@ -1,3 +1,4 @@
{{- if .Values.enabled }}
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
@ -18,3 +19,4 @@ spec:
resources:
requests:
storage: 5Gi
{{- end }}

View File

@ -1,3 +1,4 @@
{{- if .Values.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
@ -19,3 +20,4 @@ spec:
name: kibana-{{ .Values.env }}-kb-http
port:
number: 5601
{{- end }}

View File

@ -1,3 +1,4 @@
{{- if .Values.enabled }}
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
@ -19,3 +20,4 @@ spec:
service:
spec:
type: ClusterIP
{{- end }}