infrastructure/k8s/roles/concourse/templates/rbac/deploy-rolebinding.yml.j2

14 lines
265 B
Text
Raw Normal View History

2022-09-11 16:49:31 +00:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
2022-09-11 16:49:31 +00:00
metadata:
2022-12-23 13:04:44 +00:00
name: {{ item }}
2022-09-11 16:49:31 +00:00
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
2022-12-23 13:04:44 +00:00
name: concourse-deploy
2022-09-11 16:49:31 +00:00
subjects:
- kind: ServiceAccount
2022-12-23 13:04:44 +00:00
name: concourse-worker
namespace: concourse