Skip to content

Commit

Permalink
moving security context to work only if local
Browse files Browse the repository at this point in the history
  • Loading branch information
strelok899 authored Jul 18, 2024
1 parent 5bdd1ba commit f2d5f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/outline/templates/001-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ spec:
app: {{ .Release.Name }}
release: {{ .Release.Name }}
spec:
{{- if eq .Values.outline.fileStorage.type "local" }}
securityContext:
fsGroup: 1001
runAsUser: 1001
runAsGroup: 1001
{{- if eq .Values.outline.fileStorage.type "local" }}
initContainers:
- name: storage-prepare
image: busybox
Expand Down

0 comments on commit f2d5f27

Please sign in to comment.