Trident install or upgrade unable to validate against any security context constraint
Applies to
- Trident
- OpenShift 4.11 or higher with Security Context Constraints
- Kubernetes 1.25 or higher
Issue
Trident install or upgrade fails upgrade with error:
pods "trident-controller-xxxxx" is forbidden: unable to validate against any security context constraint: [spec.volumes[4]: Invalid value: "secret": secret volumes are not allowed to be used, spec.volumes[5]: Invalid value: "csi": csi volumes are not allowed to be used, spec.volumes[7]: Invalid value: "secret": secret volumes are not allowed to be used]
