[stable/graylog] Adding option to define environment variables in raw yaml format (#22007)

Signed-off-by: Rodrigo Valerio <rsvalerio@gmail.com>
This commit is contained in:
Rodrigo Valerio
2020-05-19 02:01:36 -07:00
committed by GitHub
parent 4e3359a3b7
commit d271caf7d3
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: graylog
home: https://www.graylog.org
version: 1.6.2
version: 1.6.3
appVersion: 3.1
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:
+1
View File
@@ -109,6 +109,7 @@ The following table lists the configurable parameters of the Graylog chart and t
| `graylog.tolerations` | Graylog server tolerations | `[]` |
| `graylog.nodeSelector` | Graylog server node selector | `{}` |
| `graylog.env` | Graylog server env variables | `{}` |
| `graylog.envRaw` | Graylog server env variables in raw yaml format | `{}` |
| `graylog.privileged` | Run as a privileged container | `false` |
| `graylog.additionalJavaOpts` | Graylog service additional `JAVA_OPTS` | `` |
| `graylog.service.type` | Kubernetes Service type | `ClusterIP` |
@@ -120,6 +120,11 @@ spec:
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.graylog.envRaw }}
{{- with .Values.graylog.envRaw }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
securityContext:
privileged: {{ .Values.graylog.privileged }}
ports:
+9
View File
@@ -55,6 +55,15 @@ graylog:
##
env: {}
## Additional environment variables in raw yaml format
## - name: POD_IP
## valueFrom:
## fieldRef:
## fieldPath: status.podIP
## - name: SERVICE_8000_NAME
## value: servicename
envRaw: {}
## Run as privileged container
##
privileged: false