Cluster Agent Pods are not Created When Security Policy is Enabled
If you have Pod Security Policies applied in the cluster, add the following to the cluster-agent-operator.yaml file:
securityContext:
runAsUser: 1000
This YAML file example displays the security context:
apiVersion: apps/v1
kind: Deployment
metadata:
name: appdynamics-operator
namespace: appdynamics
.
.
spec:
.
.
.
template:
.
.
securityContext:
runAsUser: 1000