mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 17:11:44 +01:00
fix typo in local confgimap metadata
This commit is contained in:
parent
bdfa78ad6c
commit
24f444fc76
@ -1,20 +1,20 @@
|
||||
local configmap(name, namespace, data) = {
|
||||
apiVersion: "v1",
|
||||
kind: "ConfigMap",
|
||||
metadate : {
|
||||
metadata : {
|
||||
name: name,
|
||||
namespace: namespace,
|
||||
},
|
||||
data: data,
|
||||
};
|
||||
|
||||
local kp =
|
||||
local kp =
|
||||
// different libsonnet imported
|
||||
{
|
||||
configmap+:: {
|
||||
'alert-templates': configmap(
|
||||
'alertmanager-alert-template.tmpl',
|
||||
$._config.namespace,
|
||||
$._config.namespace,
|
||||
{"data": importstr 'alertmanager-alert-template.tmpl'},
|
||||
)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user