Astra Trident install/upgrade - failed to create the Trident pod security policy
Applies to
Astra Trident
Issue
Trident operator install fails when using thebundle_post_1_25.yamlfor deploying the Trident operator:
time="2023-04-11T13:13:42Z" level=error msg="error syncing 'trident/trident-controller': reconcile failed; error re-installing Trident 'trident' ; err: reconcile failed; failed to create the Trident pod security policy; failed to create or patch Trident controller pod security policy; could not patch Trident Pod security policy; podsecuritypolicies.policy \"trident-controller\" is forbidden: User \"system:serviceaccount:trident:trident-operator\" cannot patch resource \"podsecuritypolicies\" in API group \"policy\" at the cluster scope, requeuing"