blob: 5b4a0560f65c9be55b16057504418826f6c2c5cb [file] [log] [blame]
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: gerrit
namespace: gerrit
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: gerrit
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: gerrit
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: gerrit
subjects:
- kind: ServiceAccount
name: gerrit
namespace: gerrit