mm security context
This commit is contained in:
@@ -22,7 +22,6 @@ spec:
|
|||||||
storageClass: "longhorn"
|
storageClass: "longhorn"
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
||||||
# Service Name für Kompatibilität
|
|
||||||
fullnameOverride: "mattermost-postgresql"
|
fullnameOverride: "mattermost-postgresql"
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
@@ -73,6 +72,13 @@ spec:
|
|||||||
externalDriverType: "postgres"
|
externalDriverType: "postgres"
|
||||||
externalConnectionString: "mmdbuser:mmdbpwd@mattermost-postgresql:5432/mattermost?sslmode=disable&connect_timeout=10"
|
externalConnectionString: "mmdbuser:mmdbpwd@mattermost-postgresql:5432/mattermost?sslmode=disable&connect_timeout=10"
|
||||||
|
|
||||||
|
# WICHTIG: Security Context für korrekte Volume-Berechtigungen
|
||||||
|
# Mattermost läuft als UID 2000, GID 2000
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 2000
|
||||||
|
runAsUser: 2000
|
||||||
|
runAsGroup: 2000
|
||||||
|
|
||||||
# Ingress Konfiguration
|
# Ingress Konfiguration
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -84,7 +90,7 @@ spec:
|
|||||||
secretName: mattermost-tls
|
secretName: mattermost-tls
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik
|
kubernetes.io/ingress.class: traefik
|
||||||
cert-manager.io/cluster-issuer: lets-encrypt
|
cert-manager.io/cluster-issuer: lets-encrypt-staging
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: 'https://kubernetes.default.svc'
|
server: 'https://kubernetes.default.svc'
|
||||||
|
|||||||
Reference in New Issue
Block a user