Change the servicemonitorEtcd namespace kube-system to $._config.namespace
This commit is contained in:
@@ -50,7 +50,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
kind: 'ServiceMonitor',
|
kind: 'ServiceMonitor',
|
||||||
metadata: {
|
metadata: {
|
||||||
name: 'etcd',
|
name: 'etcd',
|
||||||
namespace: 'kube-system',
|
namespace: $._config.namespace,
|
||||||
labels: {
|
labels: {
|
||||||
'k8s-app': 'etcd',
|
'k8s-app': 'etcd',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user