File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -306,3 +306,30 @@ resource "argocd_application" "umami" {
306
306
}
307
307
}
308
308
}
309
+
310
+ resource "argocd_application" "rancher" {
311
+ metadata {
312
+ name = " rancher"
313
+ namespace = " argo"
314
+ }
315
+
316
+ spec {
317
+ project = argocd_project. guardian . metadata [0 ]. name
318
+ source {
319
+ repo_url = var. repo_url
320
+ target_revision = " HEAD"
321
+ path = " rancher"
322
+
323
+ kustomize {
324
+ common_annotations = {
325
+ " github.com/url" = var.repo_url
326
+ }
327
+ }
328
+ }
329
+
330
+ destination {
331
+ name = argocd_cluster. common . name
332
+ namespace = " guardian"
333
+ }
334
+ }
335
+ }
Original file line number Diff line number Diff line change
1
+ apiVersion : kustomize.config.k8s.io/v1beta1
2
+ kind : Kustomization
3
+
4
+ helmCharts :
5
+ - name : rancher
6
+ releaseName : rancher
7
+ repo : https://releases.rancher.com/server-charts/stable
8
+ version : 2.x.x
You can’t perform that action at this time.
0 commit comments