Initial commit: k3s GitOps manifests with ArgoCD App-of-Apps
This commit is contained in:
37
argocd/apps/metrics.yaml
Normal file
37
argocd/apps/metrics.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: metrics
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://prometheus-community.github.io/helm-charts
|
||||
chart: kube-prometheus-stack
|
||||
targetRevision: 82.16.2
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/manifests/metrics/kube-prometheus-stack-values.yaml
|
||||
- repoURL: https://victoriametrics.github.io/helm-charts/
|
||||
chart: victoria-metrics-single
|
||||
targetRevision: 0.34.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/manifests/metrics/victoria-metrics-single-values.yaml
|
||||
- repoURL: http://gitea.gitea.svc.cluster.local:3000/gitea/k3s-manifests.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- repoURL: http://gitea.gitea.svc.cluster.local:3000/gitea/k3s-manifests.git
|
||||
targetRevision: main
|
||||
path: manifests/metrics
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: metrics
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user