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

[logstash] first version of logstash helm chart #333

Merged
merged 27 commits into from
Oct 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bbcee73
[logstash] first version of logstash helm chart
jmlrt Oct 15, 2019
bb527a8
[logstash] remove service and ingress resources
jmlrt Oct 16, 2019
50d0281
[logstash] add first default example
jmlrt Oct 16, 2019
0abec32
[logstash] allow using either configmap or env variable for logstash.yml
jmlrt Oct 17, 2019
c26c337
[logstash] add notes
jmlrt Oct 17, 2019
9bd9ac9
[logstash] add logstash to chart list
jmlrt Oct 17, 2019
b7fde8b
[logstash] add first goss test
jmlrt Oct 17, 2019
8cccd76
[logstash] use elasticsearch in logstash example
jmlrt Oct 17, 2019
bd82d68
[logstash] fix deprecated note about default storage class
jmlrt Oct 17, 2019
1abc224
[logstash] cleanup remaining pv(c) after goss test
jmlrt Oct 17, 2019
dfe785b
[logstash] add oss and default examples
jmlrt Oct 17, 2019
50defe8
[logstash] improve pvc purge
jmlrt Oct 18, 2019
1436884
[logstash] remove another deprecated note about storage class
jmlrt Oct 18, 2019
68b9b69
[logstash] stop enforcing node.name as the default value is already t…
jmlrt Oct 18, 2019
2d17d30
[logstash] remove unused default value
jmlrt Oct 18, 2019
d1aef83
[logstash] use a different annotation to handle logstash restart if p…
jmlrt Oct 18, 2019
f8acf30
[logstash] add missing lifecycle
jmlrt Oct 18, 2019
a989d81
[logstash] fix goss test
jmlrt Oct 18, 2019
42f5673
[logstash] add first python tests
jmlrt Oct 18, 2019
af5dc4c
[logstash] add ci jobs
jmlrt Oct 18, 2019
e222ca6
[logstash] cleanup/update values in README and values.yaml
jmlrt Oct 21, 2019
0acbc1e
[logstash] disable persistence by default
jmlrt Oct 21, 2019
2c1bf4f
[logstash] increase probes initial delay
jmlrt Oct 21, 2019
bac794e
[logstash] manage extra containers
jmlrt Oct 21, 2019
fd3f49f
[logstash] manage services for inputs implementing a listener
jmlrt Oct 21, 2019
8c334da
[logstash] use helm 2.15.1
jmlrt Oct 24, 2019
85c657b
[logstash] add 6.x example
jmlrt Oct 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .ci/jobs/elastic+helm-charts+master+integration-logstash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want you could split these jobs off into a separate PR. That way we can have Jenkins running CI tests for the changes in here.

- job:
name: elastic+helm-charts+master+integration-logstash
display-name: elastic / helm-charts - master - integration logstash
description: Master - integration logstash
scm:
- git:
wipe-workspace: 'True'
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: LOGSTASH_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail

source /usr/local/bin/bash_standard_lib.sh

set +x
VAULT_TOKEN=$(retry 5 vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
export VAULT_TOKEN
unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x

cluster_name="helm-${KUBERNETES_VERSION//./}-${branch_specifier:0:10}"

cd helpers/terraform/
./in-docker make integration KUBERNETES_VERSION=${KUBERNETES_VERSION} CLUSTER_NAME=${cluster_name} SUITE=${LOGSTASH_SUITE} CHART=logstash
2 changes: 2 additions & 0 deletions .ci/jobs/elastic+helm-charts+master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
current-parameters: true
- name: elastic+helm-charts+master+integration-metricbeat
current-parameters: true
- name: elastic+helm-charts+master+integration-logstash
current-parameters: true
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+master+cluster-cleanup
Expand Down
39 changes: 39 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request+integration-logstash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
- job:
name: elastic+helm-charts+pull-request+integration-logstash
display-name: elastic / helm-charts - pull-request - integration logstash
description: Pull request - integration logstash
scm:
- git:
refspec: +refs/pull/*:refs/remotes/origin/pr/*
axes:
- axis:
type: slave
name: label
values:
- docker&&virtual
- axis:
type: yaml
name: LOGSTASH_SUITE
filename: helpers/matrix.yml
- axis:
type: yaml
name: KUBERNETES_VERSION
filename: helpers/matrix.yml
builders:
- shell: |-
#!/usr/local/bin/runbld
set -euo pipefail

source /usr/local/bin/bash_standard_lib.sh

set +x
VAULT_TOKEN=$(retry 5 vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")
export VAULT_TOKEN
unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x

cluster_name="helm-${KUBERNETES_VERSION//./}-${branch_specifier:0:10}"

cd helpers/terraform/
./in-docker make integration KUBERNETES_VERSION=${KUBERNETES_VERSION} CLUSTER_NAME=${cluster_name} SUITE=${LOGSTASH_SUITE} CHART=logstash
3 changes: 3 additions & 0 deletions .ci/jobs/elastic+helm-charts+pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
- name: elastic+helm-charts+pull-request+integration-metricbeat
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
- name: elastic+helm-charts+pull-request+integration-logstash
current-parameters: true
predefined-parameters: branch_specifier=${ghprbActualCommit}
publishers:
- trigger-parameterized-builds:
- project: elastic+helm-charts+pull-request+cluster-cleanup
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Please look in the chart directories for the documentation for each chart. These
| ------------------------------------------ | ------------------------------------------------------------------------------- |
| [Elasticsearch](./elasticsearch/README.md) | https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html |
| [Kibana](./kibana/README.md) | https://www.elastic.co/guide/en/kibana/current/docker.html |
| [Logstash](./logstash/README.md) | https://www.elastic.co/guide/en/logstash/current/docker.html |
| [Filebeat](./filebeat/README.md) | https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html |
| [Metricbeat](./metricbeat/README.md) | https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-docker.html |

Expand Down
6 changes: 6 additions & 0 deletions helpers/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CHART:
- kibana
- filebeat
- metricbeat
- logstash
ES_SUITE:
- default
- config
Expand All @@ -26,6 +27,11 @@ METRICBEAT_SUITE:
- oss
- security
- 6.x
LOGSTASH_SUITE:
- default
- oss
- elasticsearch
- 6.x
KUBERNETES_VERSION:
- '1.12'
- '1.13'
Expand Down
2 changes: 2 additions & 0 deletions logstash/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/
.pytest_cache/
12 changes: 12 additions & 0 deletions logstash/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
description: Official Elastic helm chart for Logstash
home: https://github.com/elastic/helm-charts
maintainers:
- email: helm-charts@elastic.co
name: Elastic
name: logstash
version: 7.4.1
appVersion: 7.4.1
sources:
- https://github.com/elastic/logstash
icon: https://helm.elastic.co/icons/logstash.png
jmlrt marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions logstash/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../helpers/common.mk
Loading