PodSecurityPolicy is a cluster-wide resource and should not have a namespace field #2234
Labels
component/packaging
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
keepalive
An issue or PR that will be kept alive and never marked as stale.
From https://kubernetes.io/docs/concepts/policy/pod-security-policy/:
Examples as to where it's set:
loki/production/helm/loki/templates/podsecuritypolicy.yaml
Line 6 in e2a7941
This is an issue when using the manifests through other tools such as Terraform where they hit different API endpoints when a resource is expected to be cluster-wide or namespace-wide, thus resulting in errors until manually fixing the manifests.
The text was updated successfully, but these errors were encountered: