-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to display full diff. ``` sveltosctl show dryrun +-----------------------------+--------------------------+-----------+-----------------------------+--------+--------------------------------+----------------------------------------+ | CLUSTER | RESOURCE TYPE | NAMESPACE | NAME | ACTION | MESSAGE | PROFILE | +-----------------------------+--------------------------+-----------+-----------------------------+--------+--------------------------------+----------------------------------------+ | default/clusterapi-workload | kyverno.io:ClusterPolicy | | disallow-latest-tag | Update | use --raw-diff to see full | ClusterProfile/deploy-kyverno-policies | | | | | | | diff | | | default/clusterapi-workload | kyverno.io:ClusterPolicy | | restrict-external-ips | Create | | ClusterProfile/deploy-kyverno-policies | | default/clusterapi-workload | kyverno.io:ClusterPolicy | | disallow-empty-ingress-host | Delete | | ClusterProfile/deploy-kyverno-policies | +-----------------------------+--------------------------+-----------+-----------------------------+--------+--------------------------------+----------------------------------------+ ``` ``` sveltosctl show dryrun --raw-diff --- deployed: ClusterPolicy disallow-latest-tag +++ proposed: 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 this cluster. pattern: spec: containers: ```
- Loading branch information
mgianluc
committed
Nov 30, 2024
1 parent
4ec5b6b
commit d480129
Showing
4 changed files
with
78 additions
and
50 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