policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Applies to
- ONTAP 9
- Trident
- Kubernetes
Issue
During install trident generate
policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
message.Example:
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.