fix typo in local confgimap metadata
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
local configmap(name, namespace, data) = {
|
local configmap(name, namespace, data) = {
|
||||||
apiVersion: "v1",
|
apiVersion: "v1",
|
||||||
kind: "ConfigMap",
|
kind: "ConfigMap",
|
||||||
metadate : {
|
metadata : {
|
||||||
name: name,
|
name: name,
|
||||||
namespace: namespace,
|
namespace: namespace,
|
||||||
},
|
},
|
||||||
data: data,
|
data: data,
|
||||||
};
|
};
|
||||||
|
|
||||||
local kp =
|
local kp =
|
||||||
// different libsonnet imported
|
// different libsonnet imported
|
||||||
{
|
{
|
||||||
configmap+:: {
|
configmap+:: {
|
||||||
'alert-templates': configmap(
|
'alert-templates': configmap(
|
||||||
'alertmanager-alert-template.tmpl',
|
'alertmanager-alert-template.tmpl',
|
||||||
$._config.namespace,
|
$._config.namespace,
|
||||||
{"data": importstr 'alertmanager-alert-template.tmpl'},
|
{"data": importstr 'alertmanager-alert-template.tmpl'},
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user