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

Commit

Permalink
[stable/graylog] Allow to run as privileged
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Barton <chris.barton@recurly.com>
  • Loading branch information
cbarton committed Mar 16, 2020
1 parent 33fcf04 commit c1e165c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions stable/graylog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.privileged` | Run as a privileged container | `false` |
| `graylog.additionalJavaOpts` | Graylog service additional `JAVA_OPTS` | `` |
| `graylog.service.type` | Kubernetes Service type | `ClusterIP` |
| `graylog.service.port` | Graylog Service port | `9000` |
Expand Down
2 changes: 2 additions & 0 deletions stable/graylog/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ spec:
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
securityContext:
privileged: {{ .Values.graylog.privileged }}
ports:
- containerPort: 9000
name: graylog
Expand Down
4 changes: 4 additions & 0 deletions stable/graylog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ graylog:
##
env: {}

## Run as privileged container
##
privileged: false

## Pod affinity
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
Expand Down

0 comments on commit c1e165c

Please sign in to comment.