Installation¶
Prerequisites¶
| Requirement | Version |
|---|---|
| Kubernetes | >= 1.25 |
| Helm | >= 3.10 |
| cert-manager | >= 1.13 (for webhook TLS) |
Install cert-manager¶
The operator uses cert-manager to automatically provision and rotate the TLS certificate for its admission webhooks.
helm repo add jetstack https://charts.jetstack.io --force-update
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--set crds.enabled=true \
--wait
Install bootchain-operator¶
helm install bootchain-operator oci://ghcr.io/user-cube/bootchain-operator/bootchain-operator \
--namespace bootchain-operator-system \
--create-namespace \
--wait
Verify the installation:
Expected output:
NAME READY STATUS RESTARTS AGE
pod/bootchain-operator-xxx-yyy 1/1 Running 0 30s
NAME TYPE CLUSTER-IP PORT(S) AGE
service/bootchain-operator-metrics ClusterIP 10.x.x.x 8080/TCP 30s
service/bootchain-operator-webhook ClusterIP 10.x.x.x 443/TCP 30s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/bootchain-operator 1/1 1 1 30s
Install from source¶
git clone https://github.com/user-cube/bootchain-operator
cd bootchain-operator
helm install bootchain-operator charts/bootchain-operator \
--namespace bootchain-operator-system \
--create-namespace \
--wait