forked from Botanical/BotanJS
Fixed operation not permitted error
This commit is contained in:
parent
7fb7f01dc6
commit
9e1cb7f8a8
@ -12,10 +12,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: astrojs
|
app: astrojs
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
|
||||||
runAsGroup: 1001
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 1001
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: registry-auth
|
- name: registry-auth
|
||||||
initContainers:
|
initContainers:
|
||||||
@ -25,14 +21,16 @@ spec:
|
|||||||
- chown
|
- chown
|
||||||
- 1001:1001
|
- 1001:1001
|
||||||
- /app/cache
|
- /app/cache
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: false
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cache
|
- name: cache
|
||||||
mountPath: "/app/cache"
|
mountPath: "/app/cache"
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: registry.k8s.astropenguin.net/astrojs:2022.03.15.04
|
image: registry.k8s.astropenguin.net/astrojs:2022.03.15.04
|
||||||
|
securityContext:
|
||||||
|
runAsGroup: 1001
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1001
|
||||||
env:
|
env:
|
||||||
- name: FLASK_DEBUG
|
- name: FLASK_DEBUG
|
||||||
value: "0"
|
value: "0"
|
||||||
@ -47,6 +45,10 @@ spec:
|
|||||||
image: redis:6.0.8-alpine
|
image: redis:6.0.8-alpine
|
||||||
- name: compiler
|
- name: compiler
|
||||||
image: registry.k8s.astropenguin.net/astrojs:2022.03.15.04
|
image: registry.k8s.astropenguin.net/astrojs:2022.03.15.04
|
||||||
|
securityContext:
|
||||||
|
runAsGroup: 1001
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1001
|
||||||
env:
|
env:
|
||||||
- name: RUN_MODE
|
- name: RUN_MODE
|
||||||
value: "tasks"
|
value: "tasks"
|
||||||
|
Loading…
Reference in New Issue
Block a user