first commit
This commit is contained in:
commit
ad18bb8ad3
9 changed files with 309 additions and 0 deletions
28
config/02-sa.yaml
Normal file
28
config/02-sa.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue