Skip to content

Commit

Permalink
✨ force server-side apply
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiljha committed Apr 28, 2024
1 parent 756169a commit f999324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transpire/internal/argocd.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def make_app(
if not is_valid_dnsname(app_name):
raise ValueError(f"Expected a valid DNS name, but got {app_name} instead.")

sync_policy: dict = {"syncOptions": ["CreateNamespace=true"]}
sync_policy: dict = {"syncOptions": ["CreateNamespace=true", "ServerSideApply=true"]}
if auto_sync:
sync_policy["automated"] = {}

Expand Down

0 comments on commit f999324

Please sign in to comment.