diff --git a/logstash/examples/default/Makefile b/logstash/examples/default/Makefile new file mode 100644 index 000000000..46592172c --- /dev/null +++ b/logstash/examples/default/Makefile @@ -0,0 +1,16 @@ +default: test + +include ../../../helpers/examples.mk + +RELEASE := helm-logstash-default + +install: + helm upgrade --wait --timeout=600 --install $(RELEASE) --values ./values.yaml ../../ + +restart: + helm upgrade --set terminationGracePeriod=121 --wait --timeout=600 --install $(RELEASE) ../../ + +test: install goss + +purge: + helm del --purge $(RELEASE) diff --git a/logstash/examples/default/values.yaml b/logstash/examples/default/values.yaml new file mode 100644 index 000000000..eb99fd083 --- /dev/null +++ b/logstash/examples/default/values.yaml @@ -0,0 +1,17 @@ +extraEnvs: + - name: XPACK_MONITORING_ENABLED + value: "false" + +#logstashConfig: +# logstash.yml: | +# xpack.monitoring.enabled: false + +logstashPipeline: + uptime.conf: | + input { + exec { + command => "uptime" + interval => 30 + } + } + output { stdout { } }