Connect Akto with Azure OpenShift
Last updated
Last updated
containers:
- name: mirror-api-logging
...
# add the following lines to add additional privileges
privileged: true
securityContext:
runAsUser: 0
privileged: trueapiVersion: v1
kind: ServiceAccount
metadata:
name: akto-daemonset-serviceaccount
annotations:
"scc.openshift.io/scc": "akto-daemonset-scc"apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: akto-daemonset-scc
allowPrivilegedContainer: true
allowHostNetwork: true
requiredDropCapabilities:
- NET_ADMIN
seLinuxContext:
type: RunAsAny
runAsUser:
type: RunAsAny
runAsUser:
type: RunAsAny
seLinuxContext:
type: MustRunAs
users:
- system:serviceaccount:<NAMESPACE>:akto-daemonset-serviceaccountoc adm policy add-scc-to-user akto-daemonset-scc -z akto-daemonset-serviceaccount