BREAK: rename .template -> .libsonnet

This commit is contained in:
Sebastian Mark 2022-04-13 08:02:54 +02:00
parent 568a6f9a7b
commit d9d6dec62d
9 changed files with 9 additions and 12 deletions

View file

@ -1,30 +0,0 @@
# vim:ft=jsonnet:
local base = import "argo_base.template";
base + {
repo:: error "repo must be defined",
chart:: $.name,
version:: error "version must be defined",
skipCrds:: false,
values:: "",
spec+: {
source+: {
repoURL: $.repo,
chart: $.chart,
targetRevision: $.version,
}
+ (
if std.length($.values) > 0 then
{ helm+: { values: $.values } } else {}
)
+ (
if $.skipCrds then
{ helm+: { skipCrds: true } } else {}
)
}
}