bouncer/misc/k8s/kustomization/base/resources/bouncer-admin/resources/serviceaccount.yaml

33 lines
524 B
YAML

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: bouncer-admin
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: bouncer-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: bouncer-admin
subjects:
- kind: ServiceAccount
name: bouncer-admin
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: bouncer-admin
rules:
- apiGroups:
- ""
- v1
resources:
- secrets
verbs:
- create
- get
- update