- Install make
- Build operator image
IMG="<SET-YOUR-IMAGE-NAME>" make docker-build && IMG="<SET-YOUR-IMAGE-NAME>" make docker-push
- Deploy new operator image
IMG="<SET-YOUR-IMAGE-NAME>" make deploy
- Create chuck CR instance
kubectl create -f ./config/samples/chuck.yaml
(setclusterDomain: <DOMAIN_WAS_SENT_BY_EMAIL>
to the valid domain) - Remove deployment
IMG="<SET-YOUR-IMAGE-NAME>" make undeploy
- Install Pipenv
git clone https://github.com/Dimss/chuck-operator.git && cd chuck-operator/
- Install dependencies
pipenv install
- Run ansible locally
pipenv run ansible-playbook playbooks/chuck.yml --extra-vars='{"debug":"true","dry_run":"true","cluster_domain":"chuck.example.com","ansible_operator_meta":{"namespace":"chuck"}}'
- Run operator locally
pipenv run ansible-operator run
- Currently the application is failing to deploy. Find the issue and apply the fix to
chuck-operator
(fork the repo,apply changes, build and deploy a new image, etc.) - Improve the
chuck-operator
to follow best cloud/k8s native patterns. Apply the fixes tochuck-operator
at your current fork.
- Git repo with all the applied fixes
chuck-operator
Docker image ready for deployment with all the fixes applied.