kube-prometheus/jsonnet: Use jsonnet-bundler
This commit is contained in:
9
examples/ksonnet-example.jsonnet
Normal file
9
examples/ksonnet-example.jsonnet
Normal file
@@ -0,0 +1,9 @@
|
||||
local k = import "ksonnet/ksonnet.beta.3/k.libsonnet";
|
||||
local daemonset = k.apps.v1beta2.daemonSet;
|
||||
|
||||
((import "kube-prometheus/kube-prometheus.libsonnet") + {
|
||||
nodeExporter+: {
|
||||
daemonset+:
|
||||
daemonset.mixin.metadata.withNamespace("my-custom-namespace")
|
||||
}
|
||||
}).nodeExporter.daemonset
|
Reference in New Issue
Block a user