Bundles
Bundles are curated sets of ValidatingAdmissionPolicies and bindings. kubeapt can list, download, show, install, uninstall, and remove bundles.
What you can do
bundles list: see available bundle names and versions.bundles download: fetch a bundle into local storage.bundles show: review a bundle's policies and bindings.bundles install/bundles uninstall: apply or remove bundle resources in a cluster.bundles remove: delete a downloaded bundle version from local storage.bundles audit|enforce|warn: set bundle labels on namespaces.
Output
bundles list
Table output includes:
Bundle: bundle name.Latest: latest version in the remote index.Versions: available versions.Downloaded: marks downloaded versions withx.Installed: marks installed versions withx.
bundles show
Default table output lists policies, bindings, and the binding mode:
Policy: policy name.Bindings: binding names (one per line).Mode: validation actions (for example,DenyorDeny,Warn).
--format yaml|json prints the raw bundle resources instead of the table.
bundles install and bundles uninstall
--dry-runpreviews changes without applying them.--overwritecan replace existing bindings when installing.
Namespace labels
Bundles can define labels used for PSA and other admission posture controls. The label commands set the bundle-specific label key on namespaces:
bundles audit <bundle>bundles enforce <bundle>bundles warn <bundle>
For the pod-security-admission bundle, you must pass --psa-level baseline|restricted when setting labels.
Local storage
Downloaded bundles are stored under:
~/.config/kubeapt/bundles/<bundle>/<version>
Where to find bundles
Browse available bundles and versions at: