Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #141 from christopherhein/chore/update-dev-docs
Browse files Browse the repository at this point in the history
Updating the developer documentation
  • Loading branch information
Christopher Hein committed Nov 28, 2018
2 parents e6a6bc9 + 5efc1a1 commit 7ff2311
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions development.adoc
Expand Up @@ -19,9 +19,6 @@ running.

[source,shell]
----
cd code-generation
make install-bindata
cd ..
make install-aws-codegen
----

Expand All @@ -30,26 +27,18 @@ project.

[source,shell]
----
aws-operator-codegen process
make rebuild
----

This takes the model files that are in `models/` and converts them into the
operator code in `pkg/operator`

Once you have run this you can then use the Kubernetes code generation libraries
to auto generate the `pkg/client`.

[source,shell]
----
./codegen.sh
----
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.

```bash
make build && ./aws-operator server --kubeconfig ~/.kube/config --region
us-west-2
./aws-operator server --kubeconfig ~/.kube/config --region us-west-2
```

== Writing Additional Operators
Expand Down

0 comments on commit 7ff2311

Please sign in to comment.