diff --git a/stable/graylog/Chart.yaml b/stable/graylog/Chart.yaml index 5c30510300..cb200fb9e2 100755 --- a/stable/graylog/Chart.yaml +++ b/stable/graylog/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: graylog home: https://www.graylog.org -version: 1.3.3 +version: 1.3.4 appVersion: 3.0.2-2 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data. keywords: diff --git a/stable/graylog/README.md b/stable/graylog/README.md index fce25ae7b9..0182f3902d 100644 --- a/stable/graylog/README.md +++ b/stable/graylog/README.md @@ -94,7 +94,7 @@ graylog: ## Configuration -The following table lists the configurable parameters of the Cassandra chart and their default values. +The following table lists the configurable parameters of the Graylog chart and their default values. | Parameter | Description | Default | |-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------| @@ -124,6 +124,7 @@ The following table lists the configurable parameters of the Cassandra chart and | `graylog.ingress.annotations` | Graylog Ingress annotations | `{}` | | `graylog.ingress.hosts` | Graylog Ingress host names | `[]` | | `graylog.ingress.tls` | Graylog Ingress TLS configuration (YAML) | `[]` | +| `graylog.ingress.extraPaths` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). | `[]` | | `graylog.input` | Graylog Input configuration (YAML) Sees #Input section for detail | `{}` | | `graylog.metrics.enabled` | If true, add Prometheus annotations to pods | `false` | | `graylog.geoip.enabled` | If true, Maxmind Geoip Lite will be installed to ${GRAYLOG_HOME}/etc/GeoLite2-City.mmdb | `false` | diff --git a/stable/graylog/templates/ingress.yaml b/stable/graylog/templates/ingress.yaml index 7c90186b6e..b5bfa1dd0d 100644 --- a/stable/graylog/templates/ingress.yaml +++ b/stable/graylog/templates/ingress.yaml @@ -1,4 +1,5 @@ {{- if .Values.graylog.ingress.enabled -}} +{{- $extraPaths := .Values.graylog.ingress.extraPaths -}} apiVersion: extensions/v1beta1 kind: Ingress metadata: @@ -20,6 +21,9 @@ spec: - host: {{ . }} http: paths: + {{ if $extraPaths }} +{{ toYaml $extraPaths | indent 10 }} + {{- end }} - backend: serviceName: {{ template "graylog.fullname" $ }}-web servicePort: graylog diff --git a/stable/graylog/values.yaml b/stable/graylog/values.yaml index 3a97dc7486..acfe820938 100644 --- a/stable/graylog/values.yaml +++ b/stable/graylog/values.yaml @@ -146,6 +146,13 @@ graylog: hosts: [] # - graylog.yourdomain.com + ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services. + extraPaths: [] + # - path: /* + # backend: + # serviceName: ssl-redirect + # servicePort: use-annotation + ## Graylog server Ingress TLS configuration ## Secrets must be manually created in the namespace ##