REFACTOR: merge templates into one
This commit is contained in:
parent
1953320691
commit
80e517c656
10 changed files with 99 additions and 105 deletions
|
@ -1,8 +1,8 @@
|
|||
local helmapp = import "../_templates/argo_helm_app.libsonnet";
|
||||
local app = import "../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
helmapp + {
|
||||
name:: "cert-manager",
|
||||
app + {
|
||||
chart:: "cert-manager",
|
||||
repo:: "https://charts.jetstack.io",
|
||||
version:: "v1.8.*",
|
||||
values:: |||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
local helmapp = import "../_templates/argo_helm_app.libsonnet";
|
||||
local app = import "../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
helmapp + {
|
||||
name:: "ingress-nginx",
|
||||
app + {
|
||||
chart:: "ingress-nginx",
|
||||
repo:: "https://kubernetes.github.io/ingress-nginx",
|
||||
version:: "4.0.*",
|
||||
values:: |||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
local helmapp = import "../_templates/argo_helm_app.libsonnet";
|
||||
local app = import "../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
helmapp + {
|
||||
name:: "keel",
|
||||
app + {
|
||||
chart:: "keel",
|
||||
repo:: "https://charts.keel.sh",
|
||||
version:: "0.9.*",
|
||||
values:: |||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
local helmapp = import "../../_templates/argo_helm_app.libsonnet";
|
||||
local app = import "../../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
helmapp + {
|
||||
app + {
|
||||
name:: "loki",
|
||||
namespace:: "metrics",
|
||||
repo:: "https://grafana.github.io/helm-charts",
|
||||
chart:: "loki-stack",
|
||||
repo:: "https://grafana.github.io/helm-charts",
|
||||
version:: "2.6.*",
|
||||
values:: |||
|
||||
loki:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# see https://blog.ediri.io/kube-prometheus-stack-and-argocd-23-how-to-remove-a-workaround
|
||||
local helmapp = import "../../_templates/argo_helm_app.libsonnet";
|
||||
local argoapp = import "../../_templates/argo_app.libsonnet";
|
||||
local app = import "../../_templates/argocd_app.libsonnet";
|
||||
|
||||
local vars = {
|
||||
"version": "34.10.0",
|
||||
|
@ -8,20 +7,20 @@ local vars = {
|
|||
};
|
||||
|
||||
[
|
||||
argoapp + {
|
||||
app + {
|
||||
name:: "prometheus-crds",
|
||||
namespace:: vars.namespace,
|
||||
repo:: "https://github.com/prometheus-community/helm-charts.git",
|
||||
path:: "charts/kube-prometheus-stack/crds/",
|
||||
repo:: "https://github.com/prometheus-community/helm-charts.git",
|
||||
version:: "kube-prometheus-stack-" + vars.version,
|
||||
syncOptions:: ["CreateNamespace=true", "Replace=true"],
|
||||
sync_wave:: -1,
|
||||
},
|
||||
helmapp + {
|
||||
app + {
|
||||
name:: "prometheus-grafana",
|
||||
namespace: vars.namespace,
|
||||
repo:: "https://prometheus-community.github.io/helm-charts",
|
||||
chart:: "kube-prometheus-stack",
|
||||
repo:: "https://prometheus-community.github.io/helm-charts",
|
||||
version:: vars.version,
|
||||
skipCrds:: true,
|
||||
values:: |||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
local helmapp = import "../_templates/argo_helm_app.libsonnet";
|
||||
local app = import "../_templates/argocd_app.libsonnet";
|
||||
|
||||
[
|
||||
helmapp + {
|
||||
name:: "reloader",
|
||||
app + {
|
||||
chart:: "reloader",
|
||||
repo:: "https://stakater.github.io/stakater-charts",
|
||||
version:: "v0.0.*",
|
||||
values:: |||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue