diff --git a/_templates/argo_app.template b/_templates/argo_app.libsonnet similarity index 82% rename from _templates/argo_app.template rename to _templates/argo_app.libsonnet index 4f629e9..10e76d1 100644 --- a/_templates/argo_app.template +++ b/_templates/argo_app.libsonnet @@ -1,5 +1,4 @@ -# vim:ft=jsonnet: -local base = import "argo_base.template"; +local base = import "argo_base.libsonnet"; base + { repo:: error "repo must be defined", diff --git a/_templates/argo_base.template b/_templates/argo_base.libsonnet similarity index 97% rename from _templates/argo_base.template rename to _templates/argo_base.libsonnet index 62c900f..8f697f9 100644 --- a/_templates/argo_base.template +++ b/_templates/argo_base.libsonnet @@ -1,4 +1,3 @@ -# vim:ft=jsonnet: { name:: error "name must be defined", namespace:: $.name, diff --git a/_templates/argo_helm_app.template b/_templates/argo_helm_app.libsonnet similarity index 87% rename from _templates/argo_helm_app.template rename to _templates/argo_helm_app.libsonnet index 085f643..8e4a126 100644 --- a/_templates/argo_helm_app.template +++ b/_templates/argo_helm_app.libsonnet @@ -1,5 +1,4 @@ -# vim:ft=jsonnet: -local base = import "argo_base.template"; +local base = import "argo_base.libsonnet"; base + { repo:: error "repo must be defined", diff --git a/k8s-manifests/cert-manager.jsonnet b/k8s-manifests/cert-manager.jsonnet index 69a7095..a3d30e5 100644 --- a/k8s-manifests/cert-manager.jsonnet +++ b/k8s-manifests/cert-manager.jsonnet @@ -1,5 +1,5 @@ # vim:expandtab: -local helmapp = import "../_templates/argo_helm_app.template"; +local helmapp = import "../_templates/argo_helm_app.libsonnet"; [ helmapp + { diff --git a/k8s-manifests/ingress-nginx.jsonnet b/k8s-manifests/ingress-nginx.jsonnet index cdad273..ccdede9 100644 --- a/k8s-manifests/ingress-nginx.jsonnet +++ b/k8s-manifests/ingress-nginx.jsonnet @@ -1,5 +1,5 @@ # vim:expandtab: -local helmapp = import "../_templates/argo_helm_app.template"; +local helmapp = import "../_templates/argo_helm_app.libsonnet"; [ helmapp + { diff --git a/k8s-manifests/keel.jsonnet b/k8s-manifests/keel.jsonnet index 1dbade5..b7c2f5b 100644 --- a/k8s-manifests/keel.jsonnet +++ b/k8s-manifests/keel.jsonnet @@ -1,5 +1,5 @@ # vim:expandtab: -local helmapp = import "../_templates/argo_helm_app.template"; +local helmapp = import "../_templates/argo_helm_app.libsonnet"; [ helmapp + { diff --git a/k8s-manifests/monitoring/loki-stack.jsonnet b/k8s-manifests/monitoring/loki-stack.jsonnet index 56924af..0237c12 100644 --- a/k8s-manifests/monitoring/loki-stack.jsonnet +++ b/k8s-manifests/monitoring/loki-stack.jsonnet @@ -1,5 +1,5 @@ # vim:expandtab: -local helmapp = import "../../_templates/argo_helm_app.template"; +local helmapp = import "../../_templates/argo_helm_app.libsonnet"; [ helmapp + { diff --git a/k8s-manifests/monitoring/prometheus-stack.jsonnet b/k8s-manifests/monitoring/prometheus-stack.jsonnet index 8b4dfb5..d928ecc 100644 --- a/k8s-manifests/monitoring/prometheus-stack.jsonnet +++ b/k8s-manifests/monitoring/prometheus-stack.jsonnet @@ -1,7 +1,7 @@ # vim:expandtab: # see https://blog.ediri.io/kube-prometheus-stack-and-argocd-23-how-to-remove-a-workaround -local helmapp = import "../../_templates/argo_helm_app.template"; -local argoapp = import "../../_templates/argo_app.template"; +local helmapp = import "../../_templates/argo_helm_app.libsonnet"; +local argoapp = import "../../_templates/argo_app.libsonnet"; local vars = { "version": "34.9.0", diff --git a/k8s-manifests/reloader.jsonnet b/k8s-manifests/reloader.jsonnet index 1356e12..ec105c5 100644 --- a/k8s-manifests/reloader.jsonnet +++ b/k8s-manifests/reloader.jsonnet @@ -1,5 +1,5 @@ # vim:expandtab: -local helmapp = import "../_templates/argo_helm_app.template"; +local helmapp = import "../_templates/argo_helm_app.libsonnet"; [ helmapp + {