Tridentのインストールまたはアップグレードで、いずれのセキュリティコンテキスト制約にも検証できません
環境
- Trident
- Security Context Constraints付きのOpenShift 4.11以降
- Kubernetes 1.25以降
問題
Tridentのインストールまたはアップグレードがエラーで失敗します:
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]