Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions roles/ocp4_workload_gitops_bootstrap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ ocp4_workload_gitops_bootstrap_application_sync_required: true # false is great
# /operation on child Application CRDs. Has no effect on other resource types.
# Default: false — existing labs are unaffected unless they opt in.
ocp4_workload_gitops_bootstrap_application_ignore_tracking: false

# Additional syncOptions to include on the ArgoCD Application.
# RespectIgnoreDifferences=true is always included.
# Common additions:
# - SkipDryRunOnMissingResource=true (when operator CRDs are in same app as Subscriptions)
# - CreateNamespace=true
# - ServerSideApply=true
ocp4_workload_gitops_bootstrap_sync_options: []
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ spec:
selfHeal: false
syncOptions:
- RespectIgnoreDifferences=true
{% if ocp4_workload_gitops_bootstrap_sync_options | length > 0 %}
{% for opt in ocp4_workload_gitops_bootstrap_sync_options %}
- {{ opt }}
{% endfor %}
{% endif %}
ignoreDifferences:
- group: ""
kind: ConfigMap
Expand Down
Loading