fix: syncPolicy.automated.enabled=false does not disable automated sync (#24254)

Signed-off-by: downfa11 <downfa11@naver.com>
This commit is contained in:
downfa11
2025-09-04 01:03:59 +09:00
committed by GitHub
parent f2233ccd67
commit 4c9291152b
9 changed files with 879 additions and 782 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2626,7 +2626,7 @@ message SyncPolicyAutomated {
optional bool allowEmpty = 3;
// Enable allows apps to explicitly control automated sync
optional bool enable = 4;
optional bool enabled = 4;
}
// SyncSource specifies a location from which hydrated manifests may be synced. RepoURL is assumed based on the

View File

@@ -1532,7 +1532,7 @@ type SyncPolicyAutomated struct {
// AllowEmpty allows apps have zero live resources (default: false)
AllowEmpty bool `json:"allowEmpty,omitempty" protobuf:"bytes,3,opt,name=allowEmpty"`
// Enable allows apps to explicitly control automated sync
Enabled *bool `json:"enabled,omitempty" protobuf:"bytes,4,opt,name=enable"`
Enabled *bool `json:"enabled,omitempty" protobuf:"bytes,4,opt,name=enabled"`
}
// SyncStrategy controls the manner in which a sync is performed