kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: {{ .Name }} | |
namespace: {{ .Namespace }} | |
labels: | |
app: "camel-k" | |
rules: | |
- apiGroups: | |
- "coordination.k8s.io" | |
resources: | |
- leases | |
verbs: | |
- create | |
- delete | |
- deletecollection | |
- get | |
- list | |
- patch | |
- update | |
- watch | |
- apiGroups: | |
- "" | |
resources: | |
- pods | |
verbs: | |
- get | |
- list | |
- watch |