Skip to content

Commit

Permalink
grant user -> superuser
Browse files Browse the repository at this point in the history
  • Loading branch information
bbkz committed Nov 17, 2023
1 parent 831ec95 commit 2769409
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/wger/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ data:
}
}
{{- end }}
---
kind: ConfigMap
apiVersion: v1
metadata:
name: wger-pg-init
data:
grantSuperuser.sql: |
ALTER USER {{postgres.userDatabase.name}} WITH SUPERUSER;
1 change: 1 addition & 0 deletions charts/wger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ postgres:
name: wger
user: wger
password: wger
extraScripts: wger-pg-init
service:
port: 5432
resources:
Expand Down

0 comments on commit 2769409

Please sign in to comment.