-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat): track full diff for resources
When in DryRun mode, Sveltos creates a ClusterReport containing the list of changes compared to current configuration. For raw Kubernetes resources this includes listing: 1. resources that would be created 2. resources that would be deleted 3. resources that would be updated Sveltos now provides a more granular view of proposed changes during Dry Run mode for updates. A detailed diff highlighting exact changes, such as added, modified, or removed fields. Example: ```yaml resourceReports: - action: Update message: | --- ClusterPolicy disallow-latest-tag +++ ClusterPolicy disallow-latest-tag @@ -49,7 +49,7 @@ name: validate-image-tag skipBackgroundRequests: true validate: - message: Using a mutable image tag e.g. 'latest' is not allowed. + message: Using a mutable image tag e.g. 'latest' is not allowed in produdction clusters. pattern: spec: ```
- Loading branch information
mgianluc
committed
Nov 29, 2024
1 parent
3a20854
commit 9487bb8
Showing
22 changed files
with
277 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.