mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 08:20:23 +00:00
29 lines
623 B
YAML
29 lines
623 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: rbd-csi-vault-token-review
|
||
|
---
|
||
|
kind: ClusterRole
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: rbd-csi-vault-token-review
|
||
|
rules:
|
||
|
- apiGroups: ["authentication.k8s.io"]
|
||
|
resources: ["tokenreviews"]
|
||
|
verbs: ["create", "get", "list"]
|
||
|
|
||
|
---
|
||
|
kind: ClusterRoleBinding
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
metadata:
|
||
|
name: rbd-csi-vault-token-review
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: rbd-csi-vault-token-review
|
||
|
namespace: default
|
||
|
roleRef:
|
||
|
kind: ClusterRole
|
||
|
name: rbd-csi-vault-token-review
|
||
|
apiGroup: rbac.authorization.k8s.io
|