This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine ApplicationSet SyncPolicy API to be less like ArgoCD. (#55)
The ArgoCD core Application.Spec.SyncPolicy is available as part of the embedded ApplicationSet.Spec.Template. However we inherited some of this API within the ApplicationSet.Spec where it does not make sense. This PR drops the "automated" sub-struct, as automated is really the only sync policy for an ApplicationSet. We do not support the concept of a manual Sync from a UI or CLI tool as we would in ArgoCD itself, and as far as I know this is not desirable. This PR also drops the "initialSync" field, as I do not believe this concept makes sense for an ApplicationSet. Applications are always synced for their ApplicationSet. ApplicationSet.Spec.SyncPolicy.Automated.Prune then moves up to ApplicationSet.Spec.SyncPolicy.Prune.
- Loading branch information