Fix permissions issues for pgadmin

This commit is contained in:
kjeld Schouten-Lebbing 2021-08-15 10:59:22 +02:00
parent eb79542951
commit 15704530d4
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 51 additions and 2 deletions

View File

@ -24,4 +24,4 @@ name: pgadmin
sources:
- https://www.pgadmin.org/
type: application
version: 1.3.2
version: 1.3.3

View File

@ -103,6 +103,19 @@ questions:
schema:
type: string
default: "002"
- variable:
- variable: PUID
label: "PUID"
description: "Sets the PUID env var for LinuxServer.io (compatible) containers"
schema:
type: int
default: 5050
- variable: PGID
label: "PGID"
description: "Sets the PGID env var for LinuxServer.io (compatible) containers"
schema:
type: int
default: 5050
- variable: PGADMIN_DEFAULT_EMAIL
label: "PGADMIN_DEFAULT_EMAIL"
schema:
@ -592,6 +605,40 @@ questions:
default: ""
required: true
- variable: securityContext
group: "Security and Permissions"
label: "Security Context"
schema:
type: dict
attrs:
- variable: privileged
label: "Enable privileged mode for Common-Chart based charts"
schema:
type: boolean
default: false
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
type: dict
attrs:
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 5050
- variable: fsGroupChangePolicy
label: "When should we take ownership?"
schema:
type: string
default: "OnRootMismatch"
enum:
- value: "OnRootMismatch"
description: "OnRootMismatch"
- value: "Always"
description: "Always"
- variable: resources
group: "Resources and Devices"
label: ""

View File

@ -23,4 +23,6 @@ persistence:
config:
enabled: true
mountPath: "/var/lib/pgadmin"
type: emptyDir
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"