Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
apiVersion: v1
kind: Namespace
metadata:
name: check-mk
---
kind: ServiceAccount
apiVersion: v1
metadata:
name: check-mk
namespace: check-mk
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: check-mk
rules:
- apiGroups:
- ""
- storage.k8s.io
- rbac.authorization.k8s.io
- apps
- extensions
- batch
- autoscaling
- networking.k8s.io/v1beta1
resources:
- componentstatuses
- nodes
- nodes/proxy
- services
- pods
- configmaps
- secrets
- resourcequotas
- replicationcontrollers
- limitranges
- persistentvolumeclaims
- persistentvolumes
- namespaces
- endpoints
- storageclasses
- clusterroles
- roles
- daemonsets
- deployments
- replicasets
- ingresses
- statefulsets
- cronjobs
- jobs
- horizontalpodautoscalers
verbs: ["get", "list"]
- apiGroups:
- custom.metrics.k8s.io
resources: ["*"]
verbs:
- get
- list
- nonResourceURLs:
- /version
- /healthz
- /metrics
verbs: ["get"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: check-mk
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: check-mk
subjects:
- kind: ServiceAccount
name: check-mk
namespace: check-mk