fix: pg pvc for outline
This commit is contained in:
@@ -52,6 +52,21 @@ spec:
|
|||||||
app: authentik
|
app: authentik
|
||||||
component: server
|
component: server
|
||||||
spec:
|
spec:
|
||||||
|
# InitContainer: Setze Berechtigungen für /media
|
||||||
|
initContainers:
|
||||||
|
- name: init-media-permissions
|
||||||
|
image: busybox:latest
|
||||||
|
command: ["sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
mkdir -p /media/public /media/private
|
||||||
|
chmod -R 777 /media
|
||||||
|
chown -R 1000:1000 /media || true
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
volumeMounts:
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
containers:
|
containers:
|
||||||
- name: authentik
|
- name: authentik
|
||||||
image: ghcr.io/goauthentik/server:2025.10.3
|
image: ghcr.io/goauthentik/server:2025.10.3
|
||||||
@@ -66,6 +81,10 @@ spec:
|
|||||||
name: authentik-config
|
name: authentik-config
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: authentik-secrets
|
name: authentik-secrets
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /-/health/ready/
|
path: /-/health/ready/
|
||||||
@@ -107,6 +126,21 @@ spec:
|
|||||||
app: authentik
|
app: authentik
|
||||||
component: worker
|
component: worker
|
||||||
spec:
|
spec:
|
||||||
|
# InitContainer: Setze Berechtigungen für /media
|
||||||
|
initContainers:
|
||||||
|
- name: init-media-permissions
|
||||||
|
image: busybox:latest
|
||||||
|
command: ["sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
mkdir -p /media/public /media/private
|
||||||
|
chmod -R 777 /media
|
||||||
|
chown -R 1000:1000 /media || true
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
volumeMounts:
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
containers:
|
containers:
|
||||||
- name: authentik
|
- name: authentik
|
||||||
image: ghcr.io/goauthentik/server:2025.10.3
|
image: ghcr.io/goauthentik/server:2025.10.3
|
||||||
@@ -116,6 +150,10 @@ spec:
|
|||||||
name: authentik-config
|
name: authentik-config
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: authentik-secrets
|
name: authentik-secrets
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: media
|
- name: media
|
||||||
mountPath: /media
|
mountPath: /media
|
||||||
|
|||||||
Reference in New Issue
Block a user