policy/v1beta1 PodSecurityPolicy在v1.21+中已弃用、在v1.25+中不可用
适用场景
- ONTAP 9
- 三叉
- Kubernetes
问题描述
安装期间会
policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
显示Trident Generate消息。示例:
root@master:/home/trident/trident-installer# ./tridentctl install -n trident INFO Created Kubernetes clients. namespace=default version=v1.23.0 0214 08:19:35.506058 65286 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ W0214 08:19:35.513457 65286 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ INFO Created Trident pod security policy.