deploy(segmentdisplay): roll non-root GX10 image

This commit is contained in:
Andrew Stoltz
2026-06-17 10:52:19 -05:00
parent 0020aa97ce
commit dfaae3cbce

View File

@@ -49,7 +49,7 @@
} }
} }
], ],
"image": "localhost/fc-segmentdisplay-web:gx10-v1", "image": "localhost/fc-segmentdisplay-web:v20260617-sec5-segmentdisplay-7730fb2",
"imagePullPolicy": "Never", "imagePullPolicy": "Never",
"livenessProbe": { "livenessProbe": {
"failureThreshold": 3, "failureThreshold": 3,
@@ -84,12 +84,32 @@
"timeoutSeconds": 5 "timeoutSeconds": 5
}, },
"resources": {}, "resources": {},
"securityContext": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": [
"ALL"
]
},
"readOnlyRootFilesystem": true,
"runAsGroup": 1654,
"runAsNonRoot": true,
"runAsUser": 1654
},
"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": "tmp"
},
{
"mountPath": "/app/logs",
"name": "logs"
} }
] ]
} }
@@ -97,7 +117,13 @@
"dnsPolicy": "ClusterFirst", "dnsPolicy": "ClusterFirst",
"restartPolicy": "Always", "restartPolicy": "Always",
"schedulerName": "default-scheduler", "schedulerName": "default-scheduler",
"securityContext": {}, "securityContext": {
"fsGroup": 1654,
"fsGroupChangePolicy": "OnRootMismatch",
"runAsGroup": 1654,
"runAsNonRoot": true,
"runAsUser": 1654
},
"terminationGracePeriodSeconds": 30, "terminationGracePeriodSeconds": 30,
"volumes": [ "volumes": [
{ {
@@ -105,6 +131,14 @@
"persistentVolumeClaim": { "persistentVolumeClaim": {
"claimName": "segmentdisplay-web-data" "claimName": "segmentdisplay-web-data"
} }
},
{
"emptyDir": {},
"name": "tmp"
},
{
"emptyDir": {},
"name": "logs"
} }
] ]
} }