37 Commits
Author SHA1 Message Date
Siri 05f1535dbe [stable/graylog] deprecate graylog chart (#24011)
* deprecate graylog chart

Signed-off-by: KongZ <goonohc@gmail.com>

* add new line

Signed-off-by: KongZ <goonohc@gmail.com>
2020-11-06 11:56:29 -08:00
Volodymyr LinevychandVolodymyr Linevych cf6d6c4f90 [stable/graylog] provisioner job hook (#23468)
* [stable/graylog] Added helm hooks to trigger provisioner job on upgrades

Signed-off-by: Volodymyr Linevych <linevych.v@gmail.com>

* version bump

Signed-off-by: Volodymyr Linevych <linevych.v@gmail.com>

* make the annotations optional

Signed-off-by: Volodymyr Linevych <linevych.v@gmail.com>

* use generic annotations

Signed-off-by: Volodymyr Linevych <linevych.v@gmail.com>

* updated README

Signed-off-by: Volodymyr Linevych <linevych.v@gmail.com>

Co-authored-by: Volodymyr Linevych <linevych.v@gmail.com>
2020-08-10 00:50:19 -07:00
Jeff Kolb 36e60d0f96 [stable/graylog] Adding the ability to specify externalTrafficPolicy for LoadBalancer services (#22933)
* Adding the ability to specify externalTrafficPolicy, and thus preserve client IP addresses

Signed-off-by: Jeff Kolb <jeff.kolb@intlfcstone.com>

* Updated readme

Signed-off-by: Jeff Kolb <jeff.kolb@intlfcstone.com>
2020-06-24 21:26:37 -07:00
Mohamed Hazem 06d160b9b2 [stable/graylog] Add root username to k8s secret (#22763)
* - Add graylog-root-user-name to secret.yaml

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>

* - Bump chart version

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>

* - Bump chart version

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
2020-06-16 02:20:03 -07:00
Theo Meneau ad798c710e [stable/graylog] support graylog pods logging in JSON (#22785)
Signed-off-by: Theo Meneau <tmeneau@xetus.com>
2020-06-15 16:45:57 -07:00
Etash Singhandetash-singh 015274aef6 [stable/graylog]: Update Graylog Ingress Api version. (#22493)
* Update ingress version

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Bumped chart version

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Added version support for older K8s clusters

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Fixed version support for older K8s clusters

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Refactored capabilities function to check specifically for Ingress resource

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Added logic for auto api version detection for ingress

Signed-off-by: etash-singh <etash.singh@hpe.com>

* Added logic for auto detection of api version for ingress

Signed-off-by: etash-singh <etash.singh@hpe.com>

Co-authored-by: etash-singh <etash.singh@hpe.com>
2020-05-25 20:51:12 -07:00
Jeff Kolb c1052188ed [stable/graylog] allow image pull secrects in graylog and cleaned up README.md (#22476)
* allow image pull secrects in graylog and cleaned up README.md

Signed-off-by: Jeff Kolb <jeff.kolb@intlfcstone.com>

* fixed typo

Signed-off-by: Jeff Kolb <jeff.kolb@intlfcstone.com>
2020-05-21 20:04:38 -07:00
Rodrigo Valerio d271caf7d3 [stable/graylog] Adding option to define environment variables in raw yaml format (#22007)
Signed-off-by: Rodrigo Valerio <rsvalerio@gmail.com>
2020-05-19 02:01:36 -07:00
Chris Barton 15b6b537d3 [stable/graylog] Add sidecar support, privileged access and load balance across various inputs (#21375)
* [stable/graylog] Add support for a single LB for all inputs

Opens up the option to host all inputs behind a single service instead
of requiring n+2 services for UDP and TCP

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [stable/graylog] Add support for sidecar containers

There are cases when a sidecar container is appropriate to run with the
Graylog server. One such use case is mounting a FUSE backend for
enterprise archives

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [stable/graylog] Allow to run as privileged

Signed-off-by: Chris Barton <chris.barton@recurly.com>
2020-03-17 01:20:22 -07:00
jandres - moscardo f710f21dd1 stable/graylog Adding the possibility of specifying your own URI for the GeoLite DDBB location (#21267)
* Author: Josep Manel Andres Moscardo <titansmc@gmail.com>
Date:   Thu Mar 5 09:41:15 2020 +0100

 Changes to be committed:
	modified:   templates/configmap.yaml
	modified:   values.yaml

Signed-off-by: Josep Manel Andres Moscardo <titansmc@gmail.com>

* Author: Josep Manel Andres Moscardo <titansmc@gmail.com>
Date:   Thu Mar 5 09:46:15 2020 +0100

 Changes to be committed:
	modified:   templates/configmap.yaml
	modified:   values.yaml
Signed-off-by: Josep Manel Andres Moscardo <titansmc@gmail.com>

* Author: Josep Manel Andres Moscardo <titansmc@gmail.com>

Date:   Thu Mar 5 09:46:15 2020 +0100

 Changes to be committed:
	modified:   templates/configmap.yaml
	modified:   values.yaml
Signed-off-by: Josep Manel Andres Moscardo <titansmc@gmail.com>

	modified:   Chart.yaml
bumped Chart.yaml version

* Author: Josep Manel Andres Moscardo <titansmc@gmail.com>

Date:   Thu Mar 5 09:46:15 2020 +0100

Signed-off-by: Josep Manel Andres Moscardo <titansmc@gmail.com>
	modified:   README.md

* Author: Josep Manel Andres Moscardo <titansmc@gmail.com>

Signed-off-by: Josep Manel Andres Moscardo <titansmc@gmail.com>
2020-03-06 00:13:23 -08:00
Mohamed Hazem 357b28a896 - Adjust ES and mongodb secret name defaults to avoid potential collision with graylog secret (#21071)
- Allow prepending http scheme to the ES uri fetched from a secret

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
2020-02-27 07:33:44 -08:00
Mohamed Hazem a97558f680 [stable/graylog] Add support fetching elasticsearch and mongodb hosts from K8s secrets (#20807)
* - Add support for elasticsearch and mongodb hosts retrieval from a k8s secret

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>

* - Version bump to 1.5.8

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>

* - Simplify values for enabling URI fetching from k8s secrets

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
2020-02-19 21:05:02 -08:00
Hugo Cortes 4c0bf6a256 stable/graylog: use correct object path for existing root secret (#20784)
Signed-off-by: Hugo Cortes <contact@hugocortes.dev>
2020-02-16 20:07:28 -08:00
Chris Barton 621872ad5e [stable/graylog] Enable support for listening on HTTPS (#20650)
* [stable/graylog] allow master service to be disabled

There are times when the master service is not needed and since it has
the same configuration as the web (load balanced) service, it is
difficult to create a ClusterIP master service and a LoadBalancer web
service (at that point, you probably want to disable the service
altogether)

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [stable/graylog] Add headless service

This allows each node in the cluster to publish their service address
instead of host IP which aids if each node is serving via TLS.

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [stable/graylog] allow ingress URL without ingress resource being enabled

An ingress resource isn't strictly needed to have a FQDN resolve to the
graylog server, for example GKE ILB's do not need an ingress but can
have a static internal IP for DNS to point at. This opens up the option
to run Graylog in TLS mode without that ingress resource

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [stable/graylog] Bump to 1.5.6

Signed-off-by: Chris Barton <chris.barton@recurly.com>
2020-02-11 23:52:51 -08:00
Chris Barton 4852bbe9c4 [stable/graylog] Add support for extra options in the Graylog chart (#20516)
* [graylog] Extract common labels to a template function

This allows for subcharting to take advantage of the labels as well as
removes the need for duplicating those values when they should be
consistent.

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [graylog] add support for additional JAVA_OPTS

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* [graylog] bump to 1.5.5

Signed-off-by: Chris Barton <chris.barton@recurly.com>
2020-02-08 00:57:53 -08:00
Mohamed Hazem 0118be48a1 - Allow Graylog provisioner job to use Graylog ServiceAccount (#20550)
- Make rbac resources configurable
- Fix wrong variable reference in README.md
- Bump chart version

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
2020-02-05 03:37:55 -08:00
Julio H Morimoto f9eedf2064 [stable/graylog] Fix #20306, add helm2Compatibility flag to values.yaml that preserves specific labels installed by helm2 for backward compatibility. (#20464)
Signed-off-by: juliohm1978 <jhm@juliohm.com.br>
2020-01-31 06:14:20 -08:00
Chris Barton 2b0d9906b2 [stable/graylog] extra init containers/volumes support (#19681)
* Add extra volumes and mounts support to graylog

Adds `graylog.extraVolumes` and `graylog.extraVolumeMounts` as values to
allow extra files to be mounted into the container for use at runtime.

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* Add extra init containers to graylog

Add the `graylog.extraInitContainers` value to extend the stateful set
with additional init containers

Signed-off-by: Chris Barton <chris.barton@recurly.com>

* bump graylog to 1.5.0

Signed-off-by: Chris Barton <chris.barton@recurly.com>
2019-12-18 19:15:56 -08:00
Chufuyuan 4d1eef4a81 [stable/graylog] fix the logic to determine master node. (#19552)
* fix the logic to determine master node.

When container was recreated or restart or other conditions, pod is not bing removed, then the master node may becomes a coordinator .
This commit add a condition to check if master ip equals the ip of pod itself. If master ip equals the ip of pod itself, it is master node.
fix https://github.com/helm/charts/issues/17550

Signed-off-by: fuyuan.chu <fuyuan.chu@daocloud.io>

* fix unexpected new line

Signed-off-by: fuyuan.chu <fuyuan.chu@daocloud.io>
2019-12-16 01:09:37 -08:00
Nenad Strainovic 87b7cbdb5e Remove privileged initContainer mode; update Graylog version (#19314)
Signed-off-by: strainovic <nenad.strainovic@gmail.com>
2019-12-04 00:36:57 -08:00
Nenad Strainovic 3f0b276186 [stable/graylog] Fix services nodePorts; add initContainer env; update kubectl (#19271)
Signed-off-by: Nenad Strainovic <nenad.strainovic@gmail.com>
2019-12-02 08:07:06 -08:00
Siri 3738f35bea [stable/graylog] New graylog prestop hook (#18268)
* change graylog pre-stop hook

Signed-off-by: KongZ <goonohc@gmail.com>

* update sample value to latest plugin version

Signed-off-by: KongZ <goonohc@gmail.com>
2019-10-24 03:55:27 -07:00
Yevgeny e1f29ff04a [stable/graylog] entrypoint.sh update graylog-plugin-metrics-reporter to 3.0.0 (#18211)
Signed-off-by: Yevgeny Zegzhda <yevgeny.zegzhda@team.wrike.com>
2019-10-23 21:33:06 -07:00
Yevgeny d7e727be70 [stable/graylog] fix job metadata parameter (#18202)
Signed-off-by: Yevgeny Zegzhda <yevgeny.zegzhda@team.wrike.com>
2019-10-22 11:14:13 -07:00
Enno Boland c9dd4e7c95 allow graylog to use an existing secret for admin credentials (#17932)
Signed-off-by: Enno Boland <mail@eboland.de>
2019-10-14 06:44:35 -07:00
Paulo Martins 79b193dfb9 [stable/graylog] Support graylog.ingress.extraPaths (#16632)
Signed-off-by: Paulo Martins <paulo.pontes.m@gmail.com>
2019-10-07 17:17:10 -07:00
sekka1 a297a22d9b [stable/graylog] Adding namespace flag to finding the master nodes (#15058)
* Adding --namespace to kubectl usage for finding the master node

Signed-off-by: garland <garlandk@gmail.com>

* Upping chart version

Signed-off-by: garland <garlandk@gmail.com>
2019-08-13 01:11:41 -07:00
Thomas Lovett 4cffe8fdbb [stable/graylog] enable configuration of initContainer resources (#16255)
* feat(stable/graylog): enable configuration of initContainer resources

This change will make Graylog deployments compatible with clusters using ResourceQuotas
to achieve hard or soft multi-tenancy. Using ResourceQuotas in this way requires that
every container has explicit CPU and/or Memory resources configured

Signed-off-by: Thomas Lovett <tklovett@gmail.com>

* docs(stable/graylog): add missing backtick to fix formatting

Signed-off-by: Thomas Lovett <tklovett@gmail.com>

* chore(stable/graylog): bump version from 1.2.0 to 1.3.0

Signed-off-by: Thomas Lovett <tklovett@gmail.com>
2019-08-12 09:17:12 -07:00
Sam Weston c27ce4c5c7 [stable/graylog] Add provisioner Job option (#14756)
* [stable/graylog] Add provisioner Job option

Signed-off-by: Sam Weston <weston.sam@gmail.com>

* [stable/graylog] Add documentation to values file for provisioner job

Signed-off-by: Sam Weston <weston.sam@gmail.com>
2019-06-13 03:52:14 -07:00
Parthesh 7fcc16933c [stable/graylog] fix NOTES.txt for NodePort service type (#13900)
* fix NOTES.txt 

fix NOTES.txt `template` name when NodePort is enabled.

Signed-off-by: Parthesh Parekh <parthesh.parekh@scripbox.com>

* chart version dumped

Signed-off-by: Parthesh Parekh <parthesh.parekh@scripbox.com>

* Update Chart.yaml

Signed-off-by: Parthesh Parekh <parthesh.parekh@scripbox.com>

* bumped chart version

Signed-off-by: Parthesh Parekh <parthesh.parekh@scripbox.com>
2019-05-31 04:10:29 -07:00
tru-cstavares 2f74619c82 Move updateStrategy to the correct location (#14006)
Signed-off-by: Catarina Tavares <catarina.tavares@truphone.com>
2019-05-20 15:18:41 -07:00
Siri 2ed8633b13 [graylog] Update chart to support Graylog 3 (#12983)
* Update chart to support Graylog 3

Signed-off-by: KongZ <goonohc@gmail.com>

* bump version

Signed-off-by: KongZ <goonohc@gmail.com>
2019-05-17 10:02:13 -07:00
Nathan Warren 77bd3d2087 Fix broken environment variable definition (#13070)
Signed-off-by: Nate Warren <natewarren88@gmail.com>
2019-04-24 21:52:45 -07:00
maemo 8e12527e33 [stable/graylog] fix NOTES.txt when service type is NodePort (#12807)
* [stable/graylog] add namespace in NOTES.txt when get secret

Signed-off-by: Peng Tian <tcpln2009@gmail.com>

* [stable/graylog] increase chart version to 0.1.2

Signed-off-by: Peng Tian <tcpln2009@gmail.com>

* [stable/graylog] fix error when service type is NodePort

Signed-off-by: Peng Tian <tcpln2009@gmail.com>
2019-04-08 20:51:03 -07:00
maemo 2bd0196cc9 [stable/graylog] add namespace in NOTES.txt when get secret (#12733)
* [stable/graylog] add namespace in NOTES.txt when get secret

Signed-off-by: Peng Tian <tcpln2009@gmail.com>

* [stable/graylog] increase chart version to 0.1.2

Signed-off-by: Peng Tian <tcpln2009@gmail.com>
2019-04-02 09:23:19 -07:00
Christian Kaatz 9d97716476 add customizations to graylog chart (#12363)
* add customizations to graylog chart

* master service port and annotations
* env vars for the pods through the stateful set

Signed-off-by: Christian Kaatz <chrkaatz@googlemail.com>

* incorporate whitespace suggestion from review

Signed-off-by: Christian Kaatz <chrkaatz@googlemail.com>
2019-03-21 03:13:36 -07:00
Siri 204b020f02 [graylog] Add Graylog chart (#9366)
* Add Graylog chart

Signed-off-by: KongZ <goonohc@gmail.com>

* Fixed lint

Signed-off-by: KongZ <goonohc@gmail.com>

* Graylog 2.4:lastest remove wget from dockerfile and /docker-entrypoint.sh no longer working with k8s

Signed-off-by: KongZ <goonohc@gmail.com>

* Fixed journal permissions

Signed-off-by: KongZ <goonohc@gmail.com>

* remove rest_transport_uri and increase livenessProbe timeout

Signed-off-by: KongZ <goonohc@gmail.com>

* change node-id location, add metrics plugin, increase liveness timeout

Signed-off-by: KongZ <goonohc@gmail.com>

* apply new suggested standard labels

Signed-off-by: KongZ <goonohc@gmail.com>

* Add ES and MongoDB in requirements.yaml, also add options to auto install or manual

Signed-off-by: KongZ <goonohc@gmail.com>

* fixed elasticsearch could not start

Signed-off-by: KongZ <goonohc@gmail.com>

* trim trailing space

Signed-off-by: KongZ <goonohc@gmail.com>

* add new line character at the end of file

Signed-off-by: KongZ <goonohc@gmail.com>

* Move to incubator

Signed-off-by: KongZ <goonohc@gmail.com>

* remove requirements.lock

Signed-off-by: KongZ <goonohc@gmail.com>

* Add secrets to rbac role, update README

Signed-off-by: KongZ <goonohc@gmail.com>

* Update label in notes.txt

Signed-off-by: KongZ <goonohc@gmail.com>

* Fixed entrypoint to match with latest Graylog image

Signed-off-by: KongZ <goonohc@gmail.com>

* Upgrade Graylog to 2.5 and ES 6.5

Signed-off-by: KongZ <goonohc@gmail.com>

* Fixed lint and add note about graylog image

Signed-off-by: KongZ <goonohc@gmail.com>

* Move to stable, add graylog.chart func

Signed-off-by: KongZ <goonohc@gmail.com>

* use UseCGroupMemoryLimitForHeap

Signed-off-by: KongZ <goonohc@gmail.com>

* update selector lables

Signed-off-by: KongZ <goonohc@gmail.com>
2019-03-04 08:33:07 -08:00