added readme

This commit is contained in:
ston1th 2019-12-01 01:04:29 +01:00
commit 523fdec5ce
8 changed files with 22 additions and 7 deletions

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
@ -10,12 +11,9 @@ metadata:
name: pvc-reaper
namespace: pvc-reaper
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update", "patch", "delete"]
verbs: ["get", "list", "watch", "patch"]
- apiGroups: ["policy"]
resources: ["podsecuritypolicies"]
resourceNames: ["pvc-reaper"]

View file

@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata: