File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ resource "argocd_application" "app-of-components" {
4747 destination {
4848 name = " in-cluster"
4949 }
50- project = " components "
50+ project = " default "
5151
5252 source {
5353 repo_url = var. source_repo_url
@@ -67,3 +67,39 @@ resource "argocd_application" "app-of-components" {
6767 }
6868
6969}
70+
71+
72+ resource "argocd_application" "app-of-kargo" {
73+ metadata {
74+ name = " app-of-kargo"
75+ namespace = " argocd"
76+ labels = {
77+ cluster = " in-cluster"
78+ }
79+ }
80+
81+ spec {
82+ destination {
83+ name = " in-cluster"
84+ }
85+ project = " default"
86+
87+ source {
88+ repo_url = var. source_repo_url
89+ path = " kargo"
90+
91+ directory {
92+ recurse = false
93+ }
94+ }
95+
96+ # sync_policy {
97+ # automated {
98+ # prune = true
99+ # self_heal = true
100+
101+ # }
102+ # }
103+ }
104+
105+ }
You can’t perform that action at this time.
0 commit comments