Skip to content

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:11

KubeVirt RBAC Webhook v0.1.0

Installation

Install with a single command:

kubectl apply -f https://github.com/mhenriks/kubevirt-rbac-webhook/releases/download/v0.1.0/install.yaml

Or install the latest version:

kubectl apply -f https://github.com/mhenriks/kubevirt-rbac-webhook/releases/latest/download/install.yaml

Prerequisites

  • Kubernetes cluster (v1.28+)
  • KubeVirt installed
  • cert-manager installed (for webhook TLS certificates)

What's Included

  • ✅ ValidatingWebhookConfiguration
  • ✅ Fine-grained ClusterRoles for VM management
  • ✅ Webhook deployment with TLS
  • ✅ RBAC permissions
  • ✅ Service and networking configuration

Quick Start

  1. Install cert-manager (if not already installed):
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.0/cert-manager.yaml
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=cert-manager -n cert-manager --timeout=60s
  1. Install the webhook:
kubectl apply -f https://github.com/mhenriks/kubevirt-rbac-webhook/releases/download/v0.1.0/install.yaml
  1. Verify the installation:
# Check webhook pod
kubectl get pods -n kubevirt-rbac-webhook-system

# Check ClusterRoles
kubectl get clusterroles | grep kubevirt.io:vm-

# Check webhook configuration
kubectl get validatingwebhookconfigurations | grep kubevirt-rbac

Uninstall

kubectl delete -f https://github.com/mhenriks/kubevirt-rbac-webhook/releases/download/v0.1.0/install.yaml

Documentation

Container Image

Multi-platform image (linux/amd64, linux/arm64, linux/s390x, linux/ppc64le):

ghcr.io/mhenriks/kubevirt-rbac-webhook:v0.1.0