Skip to content

Commit 2ca65f3

Browse files
committed
changes to prometheus deployment
Signed-off-by: AnaisUrlichs <[email protected]>
1 parent 29afe68 commit 2ca65f3

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

argocd/prometheus-crds.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: crds
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://github.com/prometheus-community/helm-charts.git
10+
path: charts/kube-prometheus-stack/crds/
11+
targetRevision: kube-prometheus-stack-46.6.0
12+
directory:
13+
recurse: true
14+
destination:
15+
server: https://kubernetes.default.svc
16+
namespace: monitoring
17+
syncPolicy:
18+
automated:
19+
prune: true
20+
selfHeal: true
21+
syncOptions:
22+
- Replace=true

argocd/prometheus.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ apiVersion: argoproj.io/v1alpha1
22
kind: Application
33
metadata:
44
name: prom
5-
namespace: argocd
5+
namespace: argocd
66
spec:
7+
destination:
8+
namespace: monitoring
9+
server: https://kubernetes.default.svc
710
project: default
811
source:
912
chart: kube-prometheus-stack
1013
repoURL: https://prometheus-community.github.io/helm-charts
1114
targetRevision: 46.6.0
1215
helm:
16+
skipCrds: true
1317
values: |
1418
prometheus:
1519
prometheusSpec:

terraform-app/terraform.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
namespace = "argocd"
2-
cluster_name = "kind-demo"
2+
cluster_name = "kind-devopsdays"

0 commit comments

Comments
 (0)