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

33 lines
562 B
Django/Jinja

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: concourse-deploy
labels:
app.kubernetes.io/name: concourse
app.kubernetes.io/part-of: concourse
app.kubernetes.io/component: worker
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
verbs:
- "*"
- apiGroups:
- "apps"
resources:
- deployments
- statefulsets
verbs:
- "*"
- apiGroups:
- "networking.k8s.io"
resources:
- "ingresses"
verbs:
- "*"