deploy(mysql): roll non-root GX10 operator image
This commit is contained in:
@@ -56,8 +56,8 @@
|
|||||||
"value": "http://+:8080"
|
"value": "http://+:8080"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"image": "localhost/fc-mysql-operator:gx10-v1",
|
"image": "localhost/fc-mysql-operator:v20260617-sec5-3c6649c",
|
||||||
"imagePullPolicy": "IfNotPresent",
|
"imagePullPolicy": "Never",
|
||||||
"livenessProbe": {
|
"livenessProbe": {
|
||||||
"failureThreshold": 3,
|
"failureThreshold": 3,
|
||||||
"httpGet": {
|
"httpGet": {
|
||||||
@@ -100,17 +100,47 @@
|
|||||||
"memory": "256Mi"
|
"memory": "256Mi"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"securityContext": {
|
||||||
|
"allowPrivilegeEscalation": false,
|
||||||
|
"capabilities": {
|
||||||
|
"drop": [
|
||||||
|
"ALL"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"readOnlyRootFilesystem": true
|
||||||
|
},
|
||||||
"terminationMessagePath": "/dev/termination-log",
|
"terminationMessagePath": "/dev/termination-log",
|
||||||
"terminationMessagePolicy": "File"
|
"terminationMessagePolicy": "File",
|
||||||
|
"volumeMounts": [
|
||||||
|
{
|
||||||
|
"mountPath": "/tmp",
|
||||||
|
"name": "tmp"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"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,
|
||||||
|
"seccompProfile": {
|
||||||
|
"type": "RuntimeDefault"
|
||||||
|
}
|
||||||
|
},
|
||||||
"serviceAccount": "mysql-operator",
|
"serviceAccount": "mysql-operator",
|
||||||
"serviceAccountName": "mysql-operator",
|
"serviceAccountName": "mysql-operator",
|
||||||
"terminationGracePeriodSeconds": 30
|
"terminationGracePeriodSeconds": 30,
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"emptyDir": {},
|
||||||
|
"name": "tmp"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user