kwctl
kwctl copied to clipboard
Go-to CLI tool for Kubewarden users
### Current Behavior There are 2 types of policies: `ClusterAdmissionPolicy` and `AdmissionPolicy`. All of our policies can be defined both as `ClusterAdmissionPolicy` and `AdmissionPolicy`. However, policies targeting cluster-wide resources are...
## Problem Setting a wrong `annotations."io.kubewarden.policy.title"` in `metadata.yaml` may result in a wrong `metadata.name` of the CRD after scaffolding. For example a name `my policy` is invalid as it contains...
Installing policies from artifacthub.io I realized the following: ```console $ kwctl pull ghcr.io/kubewarden/policies/safe-labels:v0.1.13 # as printed in artifacthub's install button, note no registry:// $ $ kwctl scaffold manifest -t ClusterAdmissionPolicy...
[](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use...
Currently, failures on settings validations are not presented nicely: ```console {"valid":false,"message":"Error invoking settings validation callback: GuestCallFailure(\"Error decoding validation payload {\\\"signatures\\\":{\\\"foo\\\":[{\\\"image\\\":\\\"ghcr.io/kubewarden/*\\\",\\\"pubKeys\\\":[\\\"-----BEGIN PUBLIC KEY-----\\\\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEALYYVLuPXXcKajo5meRcU+c6/iZe\\\\nDh+o3ZZs1puVW5FyS1cOusnLn209R0IOFL479vm1iFn+auB41JJZUxfc8g==\\\\n-----END PUBLIC KEY-----\\\\n\\\"]}]}}: Error(\\\"invalid type: map, expected a sequence\\\",...
Bumps [k8s-openapi](https://github.com/Arnavion/k8s-openapi) from 0.21.1 to 0.22.0. Release notes Sourced from k8s-openapi's releases. v0.22.0 k8s-openapi BREAKING CHANGE: Added support for Kubernetes 1.30 under the v1_30 feature. Corresponding Kubernetes API server versions:...
### Is your feature request related to a problem? The creation of Kubernetes manifests currently requires two commands: - `kwctl pull ghcr.io/kubewarden/policies/container-resources:v0.2.4` - `kwctl scaffold manifest -t ClusterAdmissionPolicy registry://ghcr.io/kubewarden/policies/container-resources:v0.2.4` Omitting...
### Acceptance criteria In reality, we have ~65% code coverage already. Check why codecov coverage is not recognizing the tests. Add the needed tests to reach ~70% coverage.
OpenSSF best practices asks us to document our API. As cli tool, that means `kwctl` commands and flags. ### Acceptance criteria Add a new `kwctl docs`, that outputs a Markdown...
> Multiple soundness issues | Details | | | ------------------- | ---------------------------------------------- | | Status | unsound | | Package | `lexical` | | Version | `6.1.1` | | URL...