Skip to content

Commit ed7c77a

Browse files
feat: Apply out of sync option only (#533)
Signed-off-by: pashakostohrys <[email protected]>
1 parent 425d65e commit ed7c77a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/sync/common/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ const (
3131
SyncOptionServerSideApply = "ServerSideApply=true"
3232
// Sync option that disables resource deletion
3333
SyncOptionDisableDeletion = "Delete=false"
34+
// Sync option that sync only out of sync resources
35+
SyncOptionApplyOutOfSyncOnly = "ApplyOutOfSyncOnly=true"
3436
)
3537

3638
type PermissionValidator func(un *unstructured.Unstructured, res *metav1.APIResource) error

0 commit comments

Comments
 (0)