Update deployment

This commit is contained in:
Adrien Reslinger 2024-10-23 14:52:55 +02:00
parent 974d8fb7c7
commit 427e1357a0
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
6 changed files with 41 additions and 43 deletions

View file

@ -0,0 +1,32 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: diun
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: diun
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- watch
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: diun
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: diun
subjects:
- kind: ServiceAccount
name: diun
namespace: default