From d25abecae4b3a3acdb5de41458b492bafe4b8812 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sat, 12 Jul 2025 20:22:00 -0500 Subject: [PATCH] add alloy --- alloy/Chart.yaml | 9 +++++++++ apps/alloy.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 alloy/Chart.yaml create mode 100644 apps/alloy.yaml diff --git a/alloy/Chart.yaml b/alloy/Chart.yaml new file mode 100644 index 0000000..583c97e --- /dev/null +++ b/alloy/Chart.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: v2 +name: alloy +version: "1.0.0" + +dependencies: + - name: alloy + version: 1.1.2 + repository: https://grafana.github.io/helm-charts diff --git a/apps/alloy.yaml b/apps/alloy.yaml new file mode 100644 index 0000000..0f1e583 --- /dev/null +++ b/apps/alloy.yaml @@ -0,0 +1,40 @@ +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + name: alloy +spec: + goTemplate: true + goTemplateOptions: ["missingkey=error"] + generators: + - list: + elements: + - cluster: production + url: https://kubernetes.default.svc + - cluster: staging + url: https://k3s-ctrl-lb.lab.kill0.net:6443 + - cluster: development + url: https://k0s-ctrl-vip.lab.kill0.net:6443 + template: + metadata: + name: 'alloy-{{.cluster}}' + spec: + project: default + source: + path: alloy + repoURL: https://git.kill0.net/ryanc/argocd.git + targetRevision: HEAD + helm: + releaseName: alloy + valueFiles: + - values.yaml + - values-{{.cluster}}.yaml + ignoreMissingValueFiles: true + destination: + server: '{{.url}}' + namespace: alloy + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true