Change the servicemonitorEtcd namespace kube-system to $._config.namespace

This commit is contained in:
tyger
2020-06-30 13:46:22 +08:00
parent 058439f108
commit 100642a89d

View File

@@ -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',
}, },