From 73cb10ab6436240f911c439ccadccb589affb653 Mon Sep 17 00:00:00 2001 From: knrt10 Date: Wed, 20 May 2020 14:36:05 +0530 Subject: [PATCH] expamples: Fixed examples/k8s/psp.yaml file PodSecurityPolicy (in the extensions/v1beta1 API group) Migrated to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API. Signed-off-by: knrt10 --- examples/k8s/psp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/k8s/psp.yaml b/examples/k8s/psp.yaml index 555a7c027..f7f850b9f 100644 --- a/examples/k8s/psp.yaml +++ b/examples/k8s/psp.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: weave-scope @@ -18,4 +18,4 @@ spec: rule: RunAsAny volumes: - secret - - hostPath \ No newline at end of file + - hostPath