Fix RemoteDesktop GX10 data volume ownership

This commit is contained in:
Andrew Stoltz
2026-06-20 17:49:05 -05:00
parent b3becd0a91
commit c77ef12141

View File

@@ -27,10 +27,32 @@
"app.kubernetes.io/name": "remotedesktop-web", "app.kubernetes.io/name": "remotedesktop-web",
"app.kubernetes.io/part-of": "flowercore" "app.kubernetes.io/part-of": "flowercore"
} }
}, },
"spec": { "spec": {
"containers": [ "initContainers": [
{ {
"command": [
"sh",
"-c",
"chown -R 1654:1654 /app/data"
],
"image": "localhost/fc-remotedesktop-web:v20260620-rd-chrome-9abb84c",
"imagePullPolicy": "IfNotPresent",
"name": "fix-data-permissions",
"securityContext": {
"runAsGroup": 0,
"runAsUser": 0
},
"volumeMounts": [
{
"mountPath": "/app/data",
"name": "data"
}
]
}
],
"containers": [
{
"env": [ "env": [
{ {
"name": "ASPNETCORE_URLS", "name": "ASPNETCORE_URLS",