Merge pull request 'Pre-create neuron-marketplace.db for subPath mount' (#17) from fix/neuron-mcp-marketplace-touch into main
This commit is contained in:
@@ -22,7 +22,7 @@ spec:
|
||||
slot: blue
|
||||
env: prod
|
||||
annotations:
|
||||
config-hash: "marketplace-db-subpath-v2"
|
||||
config-hash: "marketplace-db-subpath-v3"
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext:
|
||||
@@ -33,7 +33,7 @@ spec:
|
||||
initContainers:
|
||||
- name: fix-data-ownership
|
||||
image: busybox:1.36
|
||||
command: ["sh", "-c", "chown -R 1000:1000 /data"]
|
||||
command: ["sh", "-c", "touch /data/neuron-marketplace.db && chown -R 1000:1000 /data"]
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsNonRoot: false
|
||||
|
||||
Reference in New Issue
Block a user