Build
The following steps layout the process of building quarks-operator (formerly cf-operator) from source and how to install it in your Kubernetes cluster.
Note
The Quarks Operator was previously known ascf-operator. We are renaming the cf-operator project into quarks-operator. Docker images and other sections might not be migrated yet, we are sorry for the confusion.
Build it from source
Follow this steps to build a proper docker image and generate a deployable helm chart:
-
Checkout the latest stable release / or run it from develop branch
1git checkout v0.3.0 -
Download the shared tools
1bin/tools -
Build the quarks-operator binary, this will be embedded later on the docker image
1bin/build -
Build the docker image
When running in minikube, please run:
eval $(minikube docker-env), to build the image directly on minikube docker.1bin/build-imageNote: This will automatically generate a docker image tag based on your current commit, tag and SHA.
-
Generated helm charts with a proper docker image tag, org and repository
1bin/build-helmNote: This will generate a new directory under the base dir, named
helm/ -
Install the helm chart(apply Kubernetes Custom Resources)
1helm install cf-operator-test helm/quarks-operatorNote: The quarks-operator will be available under the namespace set in the context, usually
default, running as a pod.