example service monitoring updated with missing config

added service account, role and role binding for the prometheus frontend
example, also updated prometheus to use the correct service account

fixes #1049
This commit is contained in:
Francisco Ripoli
2018-03-08 17:36:05 +00:00
parent 8b6ee5c18b
commit 5d33cbb166
5 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: prometheus-frontend
namespace: default
rules:
- apiGroups: [""]
resources:
- nodes
- services
- endpoints
- pods
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources:
- configmaps
verbs: ["get"]