Astra Trident安装/升级—无法创建Trident Pod安全策略
适用场景
Astra三端
问题描述
在使用BNDRAM_POST 1_25.YAML部署三元运算符时,三元运算符安装失败:
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"