move prometheus to its own config

This commit is contained in:
2024-03-26 22:13:02 +01:00
parent f4b99ca037
commit 4fcdaad297
9 changed files with 43 additions and 11 deletions

View File

@@ -20,6 +20,7 @@ resources:
- traefik/
- external-dns/
- external-services/
- prometheus/application.yaml
# simple apps
- adguard/

View File

@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus-application
namespace: argocd
spec:
project: infrastructure
source:
repoURL: git@github.com:moll-re/bootstrap-k3s-infra.git
targetRevision: main
path: infrastructure/prometheus
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true