Before installing the operator, the login data for the Dogu and Docker registry must be stored be stored:
The installation from GitHub requires the installation YAML which contains all required K8s resources.
GITHUB_VERSION=0.0.6
kubectl apply -f https://github.com/cloudogu/k8s-dogu-operator/releases/download/v${GITHUB_VERSION}/k8s-dogu-operator_${GITHUB_VERSION}.yaml
The operator should now be successfully started in the cluster.
The dogu operator can be built locally and installed in the cluster using the following commands. This assumes that the local cluster has been set up with Vagrant and the directory containing the Vagrantfile is passed as K8S_CLUSTER_ROOT:
- export K8S_CLUSTER_ROOT=/home/user/k8scluster
- export OPERATOR_NAMESPACE=ecosystem
- make build