Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #308

Merged
merged 17 commits into from
Dec 1, 2024
Merged

Dev #308

merged 17 commits into from
Dec 1, 2024

Conversation

gianlucam76
Copy link
Member

No description provided.

gianlucam76 and others added 17 commits September 12, 2024 11:47
(chore) prepare for release v0.40.0
…thub.com-opencontainers-go-digest-digest

chore(deps): update github.com/opencontainers/go-digest digest to 22b78e4
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:
```
Add Cluster info when displaying diff
@gianlucam76 gianlucam76 merged commit 29cab5f into projectsveltos:dev Dec 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant