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,39 +0,0 @@
# vim:ft=jsonnet:
{
name:: error "name must be defined",
namespace:: $.name,
syncOptions:: ["CreateNamespace=true"],
retryLimit:: 5,
sync_wave:: 0,
apiVersion: "argoproj.io/v1alpha1",
kind: "Application",
metadata: {
name: $.name,
namespace: "argocd",
annotations: { "argocd.argoproj.io/sync-wave": std.toString($.sync_wave) },
finalizers: ["resources-finalizer.argocd.argoproj.io"],
},
spec: {
project: "baseline",
destination: {
server: "https://kubernetes.default.svc",
namespace: $.namespace,
},
syncPolicy: {
automated: {
selfHeal: true,
prune: true,
},
retry: {
limit: $.retryLimit,
backoff: {
duration: "5s",
factor: 2,
maxDuration: "5m",
},
},
syncOptions: $.syncOptions,
}
}
}