mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
fix: syncPolicy.automated.enabled=false does not disable automated sync (#24254)
Signed-off-by: downfa11 <downfa11@naver.com>
This commit is contained in:
1548
pkg/apis/application/v1alpha1/generated.pb.go
generated
1548
pkg/apis/application/v1alpha1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user