aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/log/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/log/templates/all-services.yaml')
-rw-r--r--kubernetes/log/templates/all-services.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/kubernetes/log/templates/all-services.yaml b/kubernetes/log/templates/all-services.yaml
index 5f9412e872..3984f12521 100644
--- a/kubernetes/log/templates/all-services.yaml
+++ b/kubernetes/log/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: v1
kind: Service
metadata:
@@ -14,6 +15,8 @@ spec:
selector:
app: elasticsearch
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableLogLogstash }}
---
apiVersion: v1
kind: Service
@@ -29,6 +32,8 @@ spec:
targetPort: 5044
selector:
app: logstash
+#{{ end }}
+#{{ if not .Values.disableLogKibana }}
---
apiVersion: v1
kind: Service
@@ -46,4 +51,4 @@ spec:
selector:
app: kibana
type: NodePort
-
+#{{ end }} \ No newline at end of file