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

41 lines
695 B
Text
Raw Normal View History

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
2022-12-23 13:04:44 +00:00
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:
- "*"
- apiGroups:
- "monitoring.coreos.com"
resources:
- "podmonitors"
- "servicemonitors"
verbs:
- "*"