-
Notifications
You must be signed in to change notification settings - Fork 0
How to test DirectPV Operator
Cesar Celis Hernandez edited this page Aug 16, 2023
·
1 revision
To show how to test DirectPV Operator
- Create new kind cluster and install OLM on it:
createcluster
operator-sdk olm install
- Build and push the image and the bundle:
rm -rf ~/directpv-helm-operator
cd ~; git clone [email protected]:cniackz/directpv-helm-operator.git
cd ~/directpv-helm-operator; make docker-build docker-push
cd ~/directpv-helm-operator; make bundle bundle-build bundle-push
- Install the Operator and its definition:
operator-sdk run bundle quay.io/cniackz4/directpv-operator-bundle:v4.0.6
kubectl apply -f /Users/cniackz/directpv-helm-operator/my-directpv.yaml
It is expected the crash in node controller pod for kind cluster: