Difference between revisions of "Kubernetes PodSecurityPolicy (PSP) (deprecated)"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
  
  kubernetes.io/psp: eks.privileged
+
  [[kubernetes.io/psp]]: [[eks.privileged]]
 +
 
 +
kubectl get pods \
 +
  --all-namespaces \
 +
  --output jsonpath='{.items[*].metadata.annotations.kubernetes\.io\/psp}' \
 +
  | tr " " "\n" | sort -u
  
  

Revision as of 08:57, 26 January 2024

Deprecated in v1.21 (April 2021), removed in v1.25 (Aug 2022)
kubectl get psp
kubectl get psp eks.privileged


kubernetes.io/psp: eks.privileged
kubectl get pods \
  --all-namespaces \
  --output jsonpath='{.items[*].metadata.annotations.kubernetes\.io\/psp}' \
  | tr " " "\n" | sort -u


helm install --set persistence.enabled=true grafana grafana/grafana
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found 
for name: "grafana" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "grafana-test" namespace: "" from "": no 
matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first]

Related

See also

Advertising: