Deploy MenuBoard SEC-5 non-root image to GX10

This commit is contained in:
Andrew Stoltz
2026-06-17 09:13:01 -05:00
parent ed32a65873
commit 435e60a3f0

View File

@@ -48,7 +48,7 @@
} }
} }
], ],
"image": "localhost/fc-menuboard-web:gx10-v1", "image": "localhost/fc-menuboard-web:v20260617-sec5-menuboard-303a636",
"imagePullPolicy": "Never", "imagePullPolicy": "Never",
"livenessProbe": { "livenessProbe": {
"failureThreshold": 3, "failureThreshold": 3,
@@ -83,12 +83,29 @@
"timeoutSeconds": 5 "timeoutSeconds": 5
}, },
"resources": {}, "resources": {},
"securityContext": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": [
"ALL"
]
},
"readOnlyRootFilesystem": true
},
"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"
} }
] ]
} }
@@ -96,7 +113,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": [
{ {
@@ -104,6 +127,14 @@
"persistentVolumeClaim": { "persistentVolumeClaim": {
"claimName": "menuboard-web-data" "claimName": "menuboard-web-data"
} }
},
{
"emptyDir": {},
"name": "temp"
},
{
"emptyDir": {},
"name": "logs"
} }
] ]
} }