baseline/_templates/argo_base.template
Sebastian Mark e2fe9bb682 FORMAT: use jsonnet for templating
* add jsonnet templates
* rewrite all charts to jsonnet
2022-04-09 15:41:17 +02:00

27 lines
477 B
Text

# vim:ft=jsonnet:
{
name:: error "name must be defined",
namespace:: $.name,
syncOptions:: ["CreateNamespace=true"],
apiVersion: "argoproj.io/v1alpha1",
kind: "Application",
metadata: {
name: $.name,
namespace: "argocd",
},
spec: {
project: "baseline",
destination: {
server: "https://kubernetes.default.svc",
namespace: $.namespace,
},
syncPolicy: {
automated: {
selfHeal: true,
prune: true,
},
syncOptions: $.syncOptions,
}
}
}