Fix RemoteDesktop GX10 data volume ownership
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user