Skip to content

Installation

The operator runs cluster-wide and watches WazuhCluster resources in any namespace. Install it once per cluster.

helm install wazuh-operator \
  oci://registry.bnerd.com/public/charts/bnerd-wazuh-operator \
  --namespace bnerd-wazuh-system --create-namespace

Or from the repository checkout:

helm install wazuh-operator ./charts/bnerd-wazuh-operator \
  --namespace bnerd-wazuh-system --create-namespace

The WazuhCluster CRD is installed automatically from the chart's crds/ directory.

Plain manifests (kustomize)

A single bundle installs the CRD, namespace, RBAC and the operator Deployment:

kubectl apply -k https://git.bnerd.net/cloud/operators/bnerd-wazuh-operator//config/default?ref=main

…or from a checkout:

make deploy        # kubectl apply -k config/default
# or just the CRD:
make install       # kubectl apply -f config/crd/bases

Verify

kubectl -n bnerd-wazuh-system rollout status deploy/bnerd-wazuh-controller-manager
kubectl get crd wazuhclusters.wazuh.bnerd.com

Uninstall

helm uninstall wazuh-operator -n bnerd-wazuh-system
# or: kubectl delete -k config/default

CRDs are intentionally not removed automatically; delete crd/wazuhclusters.wazuh.bnerd.com manually to remove all clusters.