replaced default namespaces rbac rules by a loop

This commit is contained in:
prune
2018-07-27 07:05:42 -04:00
parent 85d6c48f98
commit 88f79258f5
2 changed files with 3 additions and 87 deletions

View File

@@ -1,5 +1,5 @@
# Monitoring other Kubernetes Namespaces
This guide will help you monitor applications in other Namespaces, which is only enabled for the `Default` Namespace during Install.
This guide will help you monitor applications in other Namespaces. By default the RBAC rules are only enabled for the `Default` and `kube-system` Namespace during Install.
# Setup
You have to give the list of the Namespaces that you want to be able to monitor.
@@ -12,7 +12,7 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
namespace: 'monitoring',
prometheus+:: {
roleSpecificNamespaces: ["foo"],
namespaces: ["default", "kube-system","foo"],
},
},
};