first commit

This commit is contained in:
ston1th 2019-11-30 12:09:41 +01:00
commit ad18bb8ad3
9 changed files with 309 additions and 0 deletions

28
config/02-sa.yaml Normal file
View file

@ -0,0 +1,28 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: webhook-interseptor
namespace: webhook-interseptor
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: webhook-interseptor
namespace: webhook-interseptor
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: webhook-interseptor
namespace: webhook-interseptor
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: webhook-interseptor
subjects:
- kind: ServiceAccount
name: webhook-interseptor