We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e294f commit 500757cCopy full SHA for 500757c
gitlab-to-argo/files/application_template.j2
@@ -13,4 +13,10 @@ spec:
13
repoURL: >-
14
{{ item.ssh_url_to_repo }}
15
targetRevision: "{{ target_revision }}"
16
- project: default
+ project: default
17
+{% if syncPolicy is defined and syncPolicy | bool %}
18
+ syncPolicy:
19
+ automated:
20
+ prune: true
21
+ selfHeal: true
22
+{% endif %}
gitlab-to-argo/inventory/group_vars/all.yml
@@ -2,4 +2,5 @@ destination_namespace: argo-cd
2
chart_path: "."
3
target_revision: HEAD
4
created_by: gitlab-argo-integration
5
-resource_prefix: gitlab-app
+resource_prefix: gitlab-app
6
+syncPolicy: false
0 commit comments