Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[logstash] add first default example
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlrt committed Oct 16, 2019
1 parent 1768d4b commit 39f9723
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions logstash/examples/default/Makefile
Original file line number Diff line number Diff line change
@@ -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)
17 changes: 17 additions & 0 deletions logstash/examples/default/values.yaml
Original file line number Diff line number Diff line change
@@ -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 { } }

0 comments on commit 39f9723

Please sign in to comment.