add alloy

This commit is contained in:
2025-07-12 20:22:00 -05:00
parent cef6264d97
commit 58636420b5
3 changed files with 146 additions and 0 deletions

40
apps/alloy.yaml Normal file
View File

@@ -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