deploy(chat): roll non-root GX10 image

This commit is contained in:
Andrew Stoltz
2026-06-17 07:46:28 -05:00
parent 2cfd340833
commit cf8cc4ba54

View File

@@ -83,7 +83,7 @@
} }
} }
], ],
"image": "localhost/fc-chat-web:v20260616-chat-md-a812a81", "image": "localhost/fc-chat-web:v20260617-sec5-chat-358f7ca",
"imagePullPolicy": "Never", "imagePullPolicy": "Never",
"livenessProbe": { "livenessProbe": {
"failureThreshold": 3, "failureThreshold": 3,
@@ -98,13 +98,22 @@
"timeoutSeconds": 5 "timeoutSeconds": 5
}, },
"name": "chat-web", "name": "chat-web",
"ports": [ "ports": [
{ {
"containerPort": 8080, "containerPort": 8080,
"name": "http", "name": "http",
"protocol": "TCP" "protocol": "TCP"
} }
], ],
"securityContext": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": [
"ALL"
]
},
"readOnlyRootFilesystem": true
},
"readinessProbe": { "readinessProbe": {
"failureThreshold": 6, "failureThreshold": 6,
"httpGet": { "httpGet": {
@@ -129,30 +138,49 @@
}, },
"terminationMessagePath": "/dev/termination-log", "terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File", "terminationMessagePolicy": "File",
"volumeMounts": [ "volumeMounts": [
{ {
"mountPath": "/data", "mountPath": "/data",
"name": "data" "name": "data"
} },
] {
"mountPath": "/tmp",
"name": "temp"
},
{
"mountPath": "/app/logs",
"name": "logs"
}
]
} }
], ],
"dnsPolicy": "ClusterFirst", "dnsPolicy": "ClusterFirst",
"restartPolicy": "Always", "restartPolicy": "Always",
"schedulerName": "default-scheduler", "schedulerName": "default-scheduler",
"securityContext": { "securityContext": {
"fsGroup": 1654, "fsGroup": 1654,
"fsGroupChangePolicy": "OnRootMismatch" "fsGroupChangePolicy": "OnRootMismatch",
}, "runAsGroup": 1654,
"runAsNonRoot": true,
"runAsUser": 1654
},
"terminationGracePeriodSeconds": 30, "terminationGracePeriodSeconds": 30,
"volumes": [ "volumes": [
{ {
"name": "data", "name": "data",
"persistentVolumeClaim": { "persistentVolumeClaim": {
"claimName": "chat-web-data" "claimName": "chat-web-data"
} }
} },
] {
"emptyDir": {},
"name": "temp"
},
{
"emptyDir": {},
"name": "logs"
}
]
} }
} }
} }