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

Commit 7ff2311

Browse files
author
Christopher Hein
authored
Merge pull request #141 from christopherhein/chore/update-dev-docs
Updating the developer documentation
2 parents e6a6bc9 + 5efc1a1 commit 7ff2311

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

development.adoc

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ running.
1919

2020
[source,shell]
2121
----
22-
cd code-generation
23-
make install-bindata
24-
cd ..
2522
make install-aws-codegen
2623
----
2724

@@ -30,26 +27,18 @@ project.
3027

3128
[source,shell]
3229
----
33-
aws-operator-codegen process
30+
make rebuild
3431
----
3532

3633
This takes the model files that are in `models/` and converts them into the
37-
operator code in `pkg/operator`
38-
39-
Once you have run this you can then use the Kubernetes code generation libraries
40-
to auto generate the `pkg/client`.
41-
42-
[source,shell]
43-
----
44-
./codegen.sh
45-
----
34+
operator code in `pkg/operator` following that it will run the Kubernetes code
35+
generation libraries to auto generate the `pkg/client`.
4636

4737
After have made sure the codegen is run you can then build the package and
4838
run it against a remote cluster by passing in the `kubeconfig` file.
4939

5040
```bash
51-
make build && ./aws-operator server --kubeconfig ~/.kube/config --region
52-
us-west-2
41+
./aws-operator server --kubeconfig ~/.kube/config --region us-west-2
5342
```
5443

5544
== Writing Additional Operators

0 commit comments

Comments
 (0)