Skip to content

Commit b933158

Browse files
committed
feat: add argocd app definitions
1 parent 975322e commit b933158

File tree

4 files changed

+85
-0
lines changed

4 files changed

+85
-0
lines changed

argocd/apps/backend.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: receiptsnap-backend
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://github.com/pratik50/ReceiptSnap-Backend
10+
targetRevision: prod
11+
path: k8s
12+
destination:
13+
server: https://kubernetes.default.svc
14+
namespace: backend-team
15+
syncPolicy:
16+
automated:
17+
prune: true
18+
selfHeal: true
19+
syncOptions:
20+
- CreateNamespace=true

argocd/apps/otel-collector.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: otel-collector
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://open-telemetry.github.io/opentelemetry-helm-charts
10+
chart: opentelemetry-collector
11+
targetRevision: "*"
12+
helm:
13+
valueFiles:
14+
- $values/helm-values/otel-collector-values.yaml
15+
destination:
16+
server: https://kubernetes.default.svc
17+
namespace: monitoring
18+
syncPolicy:
19+
automated:
20+
prune: true
21+
selfHeal: true

argocd/apps/prometheus.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: prometheus
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://prometheus-community.github.io/helm-charts
10+
chart: kube-prometheus-stack
11+
targetRevision: "*"
12+
destination:
13+
server: https://kubernetes.default.svc
14+
namespace: monitoring
15+
syncPolicy:
16+
automated:
17+
prune: true
18+
selfHeal: true
19+
syncOptions:
20+
- CreateNamespace=true

argocd/apps/traefik.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: traefik
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://traefik.github.io/charts
10+
chart: traefik
11+
targetRevision: "*"
12+
helm:
13+
valuesObject:
14+
gateway:
15+
enabled: false
16+
destination:
17+
server: https://kubernetes.default.svc
18+
namespace: traefik
19+
syncPolicy:
20+
automated:
21+
prune: true
22+
selfHeal: true
23+
syncOptions:
24+
- CreateNamespace=true

0 commit comments

Comments
 (0)