Skip to content
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
4 changes: 2 additions & 2 deletions charts/plumber/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: plumber
description: Helm chart for Plumber
type: application
version: "1.3.1"
appVersion: "1.3.1"
version: "1.3.2"
appVersion: "1.3.2"
home: https://github.com/getplumber/platform/
maintainers:
- name: devpro
Expand Down
8 changes: 8 additions & 0 deletions charts/plumber/templates/redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.redis.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: redis
image: {{ include "plumber.redisImage" . }}
Expand Down Expand Up @@ -66,4 +70,8 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
resources: {}
{{- with .Values.redis.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
21 changes: 21 additions & 0 deletions charts/plumber/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,27 @@ redis:
# -- Pull policy for the Redis image.
pullPolicy: IfNotPresent

# -- Security context for the Redis container.
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: [ALL]
privileged: false
runAsNonRoot: true
runAsUser: 999
runAsGroup: 999
seccompProfile:
type: RuntimeDefault

# -- Security context for the Redis pod.
podSecurityContext:
runAsNonRoot: true
runAsUser: 999
runAsGroup: 999
fsGroup: 999
seccompProfile:
type: RuntimeDefault

# Connection details for the Redis instance (used whether deployed by this chart or external).
# When deploy is true and custom.host is empty, the host defaults to <release>-redis-master.
custom:
Expand Down
Loading