Before start working on the AWS Service Operator please read the Contributing Guidelines.
Make sure you first have all the dependencies installed. The source checkout should be under your $GOPATH/src directory.
brew install dep
brew upgrade dep
dep ensure
If you want to make changes to the operators, they are all generated code, to
modify them you will need to install the aws-operator-codegen
project by
running.
make install-aws-codegen
After you have this installed you can run the following from the root of the project.
make rebuild
This takes the model files that are in models/
and converts them into the
operator code in pkg/operator
following that it will run the Kubernetes code
generation libraries to auto generate the pkg/client
.
After have made sure the codegen is run you can then build the package and
run it against a remote cluster by passing in the kubeconfig
file.
./aws-operator server --kubeconfig ~/.kube/config --region us-west-2