Correct typo in Rolebindig
This commit is contained in:
@@ -5,14 +5,14 @@ This guide will help you monitor applications in other Namespaces. By default th
|
|||||||
You have to give the list of the Namespaces that you want to be able to monitor.
|
You have to give the list of the Namespaces that you want to be able to monitor.
|
||||||
This is done in the variable `prometheus.roleSpecificNamespaces`. You usually set this in your `.jsonnet` file when building the manifests.
|
This is done in the variable `prometheus.roleSpecificNamespaces`. You usually set this in your `.jsonnet` file when building the manifests.
|
||||||
|
|
||||||
Example to create the needed `Role` and `Rolebindig` for the Namespace `foo` :
|
Example to create the needed `Role` and `RoleBinding` for the Namespace `foo` :
|
||||||
```
|
```
|
||||||
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
|
local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + {
|
||||||
_config+:: {
|
_config+:: {
|
||||||
namespace: 'monitoring',
|
namespace: 'monitoring',
|
||||||
|
|
||||||
prometheus+:: {
|
prometheus+:: {
|
||||||
namespaces: ["default", "kube-system","foo"],
|
namespaces: ["default", "kube-system", "foo"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user