all repos — janny @ master

clean up Kubernetes resources after a set TTL

deploy/clusterrole.yaml (view raw)

 1apiVersion: rbac.authorization.k8s.io/v1
 2kind: ClusterRole
 3metadata:
 4  name: janny
 5rules:
 6- apiGroups:
 7  - ""
 8  resources:
 9  - events
10  verbs:
11  - create
12- apiGroups:
13  - "*"
14  resources:
15  - "*"
16  verbs:
17  - get
18  - watch
19  - list
20  - delete