Skip to content

Commit

Permalink
Move permissions change to cw only
Browse files Browse the repository at this point in the history
  • Loading branch information
chainlink committed Jan 10, 2025
1 parent a09e31c commit d5d3d84
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions lumigator/infra/mzai/helm/lumigator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,32 +68,9 @@ tolerations: []

affinity: {}

# Sets up PVC which does not get deleted on helm delete..
# Note: Need to manually delete PVC after helm delete
postgresql:
enabled: true
# auth:
# username: lumigator
# database: lumigator

# TODO Double check user ID set here is correct..
primary:
initContainers:
- command:
- sh
- -c
- |
uid
mkdir -p $VOLUME_DATA_DIR
chown -R 1001:1001 $VOLUME_DATA_DIR
echo 'Volume permissions OK ✓'
env:
- name: VOLUME_DATA_DIR
value: /bitnami/postgresql
image: busybox
imagePullPolicy: IfNotPresent
name: volumepermissions
securityContext:
runAsUser: 0
volumeMounts:
- mountPath: /bitnami/postgresql
name: data

0 comments on commit d5d3d84

Please sign in to comment.