Skip to content

Commit e0ec193

Browse files
scrape argo
1 parent 589a097 commit e0ec193

File tree

3 files changed

+59
-7
lines changed

3 files changed

+59
-7
lines changed

contrib/argocd/argocd/kustomization.yaml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,44 @@
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
5-
- namespace.yaml
5+
# renovate: datasource=github-releases depName=argoproj/argo-cd
66
- https://raw.githubusercontent.com/argoproj/argo-cd/refs/tags/v3.0.9/manifests/core-install.yaml
7+
- project-default.yaml
8+
- app-cluster.yaml
9+
patches:
10+
- target:
11+
kind: Deployment
12+
name: argocd-server
13+
patch: |-
14+
- op: add
15+
path: /spec/template/metadata/annotations
16+
value:
17+
prometheus.io/scrape: "true"
18+
prometheus.io/port: "8083"
19+
- target:
20+
kind: Deployment
21+
name: argocd-repo-server
22+
patch: |-
23+
- op: add
24+
path: /spec/template/metadata/annotations
25+
value:
26+
prometheus.io/scrape: "true"
27+
prometheus.io/port: "8084"
28+
- target:
29+
kind: StatefulSet
30+
name: argocd-application-controller
31+
patch: |-
32+
- op: add
33+
path: /spec/template/metadata/annotations
34+
value:
35+
prometheus.io/scrape: "true"
36+
prometheus.io/port: "8082"
37+
- target:
38+
kind: Deployment
39+
name: argocd-applicationset-controller
40+
patch: |-
41+
- op: add
42+
path: /spec/template/metadata/annotations
43+
value:
44+
prometheus.io/scrape: "true"
45+
prometheus.io/port: "8082"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: AppProject
4+
metadata:
5+
name: default
6+
namespace: argocd
7+
spec:
8+
sourceRepos:
9+
- '*'
10+
destinations:
11+
- namespace: '*'
12+
server: '*'
13+
clusterResourceWhitelist:
14+
- group: '*'
15+
kind: '*'

contrib/argocd/svc.dd.soeren.cloud/kustomization.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ resources:
66
- ../argocd
77
patches:
88
- target:
9-
kind: Kustomization
10-
name: gitops-cluster
9+
kind: Application
10+
name: cluster
1111
patch: |-
1212
- op: replace
13-
path: /spec/path
14-
value: ./clusters/dqs.dd.soeren.cloud
15-
- op: remove
16-
path: /spec/decryption
13+
path: /spec/source/path
14+
value: ./clusters/argo-svc.dd.soeren.cloud

0 commit comments

Comments
 (0)