Skip to content

Feature request: support of manualSync flag for ArgoCD sync windows #2290

@aengelh

Description

@aengelh

Description

In ArgoCD, sync windows can be defined to either allow or deny syncs during a time frame (see https://argo-cd.readthedocs.io/en/stable/user-guide/sync_windows/).
For these sync windows, there is a configuration option called manualSync, which determines if manual syncs are allowed for the sync window or not (https://argo-cd.readthedocs.io/en/stable/user-guide/sync_windows/#effect-of-sync-windows).
Whilst sync windows can be created via kuberpult (https://github.com/freiheit-com/kuberpult/blob/v13.0.1/docs/environment.md#argo-cd , bullet point 'sync windows'), there is no mention of the manualSync flag, since it is not supported by kuberpult.

Steps to recreate

  • create ArgoCD environment via kuberpult, e.g. via config map, add manualSync flag:
    "sync_windows" : [
    {
    "kind" : "deny",
    "schedule" : "0 10 * * 1-5",
    "duration" : "3h",
    "manualSync" : false
    }
    ]
  • the sync window is being created in ArgoCD but with manualSync set to true/enabled, since the flag is obviously ignored by kuberpult

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions