Skip to content

Commit

Permalink
Fix securitycontext
Browse files Browse the repository at this point in the history
  • Loading branch information
Feleuxens committed Dec 14, 2023
1 parent 0607a85 commit e4d2bc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion radarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions radarr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext:
fsGroup: {{ .Values.guid | default 1000 }}
{{- if .Values.podSecurityContext }}
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
3 changes: 1 addition & 2 deletions radarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ affinity: {}
## @param podAnnotations
podAnnotations: {}

## @param podSecurityContext
## @param podSecurityContext Additional pod security context. fsGroup is already set
podSecurityContext: {}
# fsGroup: 2000

## @param securityContext
securityContext: {}
Expand Down

0 comments on commit e4d2bc1

Please sign in to comment.