import main.libsonnet to allow exmaple generation
This commit is contained in:
@@ -14,7 +14,7 @@ local ingress(name, namespace, rules) = {
|
||||
};
|
||||
|
||||
local kp =
|
||||
(import 'kube-prometheus/kube-prometheus.libsonnet') +
|
||||
(import 'kube-prometheus/main.libsonnet') +
|
||||
{
|
||||
_config+:: {
|
||||
namespace: 'monitoring',
|
||||
@@ -48,7 +48,8 @@ local kp =
|
||||
'kube-prometheus': ingress(
|
||||
'kube-prometheus',
|
||||
$._config.namespace,
|
||||
[{
|
||||
[
|
||||
{
|
||||
host: 'alertmanager.example.com',
|
||||
http: {
|
||||
paths: [{
|
||||
@@ -86,7 +87,8 @@ local kp =
|
||||
},
|
||||
}],
|
||||
},
|
||||
},]
|
||||
},
|
||||
]
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user