Home

Awesome

Building the operator

Kubernetes version: 1.9

This operator use the kubernetes code-generator for

  1. Get dependencies packages in your $GOPATH with go get k8s.io/kubernetes k8s.io/apimachinery
  2. Initialize the dependancies with dep init in the project root directory
  3. Clone the code-generator repo in the vendor/k8s.io directory. Be careful of cloning the branch matching the Kubernetes version git clone -b <branch> https://github.com/kubernetes/code-generator
  4. Run the script vendor/k8s.io/code-generator/generate-groups.sh all github.com/vgkowski/cassandra-operator/pkg/client github.com/vgkowski/cassandra-operator/pkg/apis cassandra:v1 or hack/update-codegen.sh

Improvements