Skip to content

Commit

Permalink
fix(helm): fix pipeline pod permission (#1053)
Browse files Browse the repository at this point in the history
Because

- The pipeline pod security settings are incorrect.

This commit

- Fixes the pipeline pod permissions.
  • Loading branch information
donch1989 authored Jul 29, 2024
1 parent 09cb770 commit 621cdc7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charts/core/templates/pipeline-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
# Distroless nonroot:nonroot is 65532:65532
securityContext:
runAsUser: 65532
runAsGroup: 65532
runAsUser: 65534
runAsGroup: 65534
{{- if .Values.pipelineBackend.serviceAccountName }}
serviceAccountName: {{ .Values.pipelineBackend.serviceAccountName }}
{{- end }}
Expand Down

0 comments on commit 621cdc7

Please sign in to comment.