Skip to content

Commit

Permalink
Merge pull request #485 from kubero-dev/fix/build-permissions
Browse files Browse the repository at this point in the history
fix build permissions
  • Loading branch information
mms-gianni authored Nov 10, 2024
2 parents fc7c393 + 517866a commit df15e05
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion server/src/modules/templates/buildpacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
automountServiceAccountToken: true
securityContext:
fsGroup: 1001
fsGroup: 1000
containers:
- name: deploy
env:
Expand Down Expand Up @@ -75,6 +75,19 @@ spec:
- mountPath: /app
name: app-storage
workingDir: /app
- command:
- sh
- -c
- chmod -R g+w /app
image: busybox:latest
imagePullPolicy: IfNotPresent
name: permissions
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /app
name: app-storage
workingDir: /app
- name: build
args:
- '-app=.'
Expand Down

0 comments on commit df15e05

Please sign in to comment.