Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/graylog] extra init containers/volumes support #19681

Merged
merged 3 commits into from
Dec 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion stable/graylog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: graylog
home: https://www.graylog.org
version: 1.4.1
version: 1.5.0
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:
Expand Down
3 changes: 3 additions & 0 deletions stable/graylog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ The following table lists the configurable parameters of the Graylog chart and t
| `graylog.init.resources` | Configure resource requests and limits for the Graylog StatefulSet initContainer | `{}` |
| `graylog.provisioner.enabled` | Enable optional Job to run an arbitrary Bash script | `false` |
| `graylog.provisioner.script` | The contents of the provisioner Bash script | `` |
| `graylog.extraVolumeMounts` | Additional Volume mounts | `[]` |
| `graylog.extraVolumes` | Additional Volumes | `[]` |
| `graylog.extraInitContainers` | Additional Init containers | `[]` |
| `rbac.create` | If true, create & use RBAC resources | `true` |
| `rbac.serviceAccount.create` | If true, create the Graylog service account | `true` |
| `rbac.serviceAccount.name` | Name of the server service account to use or create | `{{ graylog.fullname }}` |
Expand Down
9 changes: 9 additions & 0 deletions stable/graylog/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ spec:
{{- if .Values.graylog.init.resources }}
resources:
{{ toYaml .Values.graylog.init.resources | indent 12 }}
{{- end }}
{{- if .Values.graylog.extraInitContainers }}
{{ toYaml .Values.graylog.extraInitContainers | indent 8 }}
{{- end }}
containers:
- name: graylog-server
Expand Down Expand Up @@ -166,6 +169,9 @@ spec:
{{- end }}
- name: kubectl
mountPath: /k8s
{{- if .Values.graylog.extraVolumeMounts }}
{{ toYaml .Values.graylog.extraVolumeMounts | nindent 12 }}
{{- end }}
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -200,6 +206,9 @@ spec:
{{- end }}
- name: kubectl
emptyDir: {}
{{- if .Values.graylog.extraVolumes }}
{{ toYaml .Values.graylog.extraVolumes | indent 8}}
{{- end }}
{{- if not .Values.graylog.persistence.enabled }}
- name: journal
emptyDir: {}
Expand Down
12 changes: 12 additions & 0 deletions stable/graylog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ graylog:
# - name: graylog-plugin-auth-sso-3.0.0.jar
# url: https://github.com/Graylog2/graylog-plugin-auth-sso/releases/download/3.0.0/graylog-plugin-auth-sso-3.0.0.jar

## Additional init containers
##
extraInitContainers: []

## Additional volume mounts
##
extraVolumeMounts: []

## Additional volumes
##
extraVolumes: []

## A service for Graylog web interface
##
service:
Expand Down