diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index 0548309..a742f65 100755 --- a/charts/graylog/Chart.yaml +++ b/charts/graylog/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: graylog home: https://www.graylog.org -version: 2.3.8 +version: 2.3.9 appVersion: 5.2.6 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes diff --git a/charts/graylog/README.md b/charts/graylog/README.md index 8a85b20..4a71aa7 100644 --- a/charts/graylog/README.md +++ b/charts/graylog/README.md @@ -213,6 +213,7 @@ The following table lists the configurable parameters of the Graylog chart and t | `graylog.sidecarContainers` | Sidecar containers to run in the server statefulset | `[]` | | `graylog.extraVolumeMounts` | Additional Volume mounts | `[]` | | `graylog.extraVolumes` | Additional Volumes | `[]` | +| `graylog.extraVolumeClaimTemplates` | Additional Volume claim templates | `[]` | | `graylog.extraInitContainers` | Additional Init containers | `[]` | | `graylog.secret.annotations` | Graylog Secret annotations | `{}` | | `rbac.create` | If true, create & use RBAC resources | `true` | diff --git a/charts/graylog/templates/statefulset.yaml b/charts/graylog/templates/statefulset.yaml index 814ebb6..a76b803 100644 --- a/charts/graylog/templates/statefulset.yaml +++ b/charts/graylog/templates/statefulset.yaml @@ -264,8 +264,10 @@ spec: {{- if not .Values.graylog.persistence.enabled }} - name: journal emptyDir: {} -{{- else }} +{{- end }} +{{- if or .Values.graylog.persistence.enabled .Values.graylog.extraVolumeClaimTemplates }} volumeClaimTemplates: + {{- if .Values.graylog.persistence.enabled }} - metadata: name: journal spec: @@ -281,4 +283,8 @@ spec: resources: requests: storage: "{{ .Values.graylog.persistence.size }}" + {{- end }} + {{- if .Values.graylog.extraVolumeClaimTemplates }} + {{ toYaml .Values.graylog.extraVolumeClaimTemplates | nindent 4 }} + {{- end }} {{- end }} diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index 7520815..7d95bdf 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -192,6 +192,10 @@ graylog: ## extraVolumes: [] + ## Additional volume claim templates + ## + extraVolumeClaimTemplates: [] + ## A service for Graylog web interface ## service: