softplayer-helmfile/workload/manifests/rbac.yaml

18 lines
372 B
YAML
Raw Permalink Normal View History

2024-05-10 10:06:03 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: test
roleRef: # points to the Role
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects: # points to the ServiceAccount
- kind: ServiceAccount
name: test
namespace: default
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: test
namespace: default