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

13 lines
265 B
Django/Jinja

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ item }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: concourse-deploy
subjects:
- kind: ServiceAccount
name: concourse-worker
namespace: concourse