You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Chart not installing in Kubernetes clusters >= 1.21 with PodSecurityPolicies enabled.
This is because the chart want's to use apiVersion: policy/v1. However there is no such apiVersion and there never will be. podSecurityPolicys have been deprecated, because they will be removed completely in future Kubernetes versions.
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PodSecurityPolicy" in version "policy/v1"
Expected behavior
Chart should install with a warning about the deprecation.
Chart Name
opensearch
Host/Environment (please complete the following information):
Describe the bug
Chart not installing in Kubernetes clusters >= 1.21 with PodSecurityPolicies enabled.
This is because the chart want's to use
apiVersion: policy/v1
. However there is no such apiVersion and there never will be. podSecurityPolicys have been deprecated, because they will be removed completely in future Kubernetes versions.To Reproduce
Steps to reproduce the behavior:
helm install opensearch --set=podSecurityPolicy.create=true --set=rbac.create=true opensearch/opensearch
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PodSecurityPolicy" in version "policy/v1"
Expected behavior
Chart should install with a warning about the deprecation.
Chart Name
opensearch
Host/Environment (please complete the following information):
Additional context
Suggested patch:
The text was updated successfully, but these errors were encountered: