49 lines
826 B
YAML
49 lines
826 B
YAML
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: homepage
|
||
|
labels:
|
||
|
app.kubernetes.io/name: homepage
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- namespaces
|
||
|
- pods
|
||
|
- nodes
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- extensions
|
||
|
- networking.k8s.io
|
||
|
resources:
|
||
|
- ingresses
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- traefik.containo.us
|
||
|
resources:
|
||
|
- ingressroutes
|
||
|
- ingressroutes/status
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- metrics.k8s.io
|
||
|
resources:
|
||
|
- nodes
|
||
|
- pods
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- apiGroups:
|
||
|
- apiextensions.k8s.io
|
||
|
resources:
|
||
|
- customresourcedefinitions
|
||
|
- customresourcedefinitions/status
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|