You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to deploy the operator on OpenShift local, the hhkl-keylime-agent DaemonSet is not deployed properly. The event log is the following:
Error creating: pods "hhkl-keylime-agent-" is forbidden: unable to validate against any security context constraint: [provider "anyuid": Forbidden: not usable by user or serviceaccount, spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used, spec.volumes[1]: Invalid value: "hostPath": hostPath volumes are not allowed to be used, provider restricted-v2: .containers[0].privileged: Invalid value: true: Privileged containers are not allowed, provider "restricted": Forbidden: not usable by user or serviceaccount, provider "nonroot-v2": Forbidden: not usable by user or serviceaccount, provider "nonroot": Forbidden: not usable by user or serviceaccount, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork-v2": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider "hostaccess": Forbidden: not usable by user or serviceaccount, provider "hostpath-provisioner": Forbidden: not usable by user or serviceaccount, provider "privileged": Forbidden: not usable by user or serviceaccount]
I tried to deploy the pod in both unprivileged and privileged mode (by changing the global.service.agent.privileged value from build/helm/keylime/values.yaml) with the same result. The global.openshift value is set to true in the value file.
The issue seems related to the hhkl-keylime-agent service account not having sufficient permissions to set the necessary anyuid SCC for the pod.
When trying to deploy the operator on OpenShift local, the
hhkl-keylime-agent
DaemonSet is not deployed properly. The event log is the following:I tried to deploy the pod in both unprivileged and privileged mode (by changing the
global.service.agent.privileged
value frombuild/helm/keylime/values.yaml
) with the same result. Theglobal.openshift
value is set totrue
in the value file.The issue seems related to the
hhkl-keylime-agent
service account not having sufficient permissions to set the necessaryanyuid
SCC for the pod.Version info:
The text was updated successfully, but these errors were encountered: