This repository was archived by the owner on Nov 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ running.
19
19
20
20
[source,shell]
21
21
----
22
- cd code-generation
23
- make install-bindata
24
- cd ..
25
22
make install-aws-codegen
26
23
----
27
24
@@ -30,26 +27,18 @@ project.
30
27
31
28
[source,shell]
32
29
----
33
- aws-operator-codegen process
30
+ make rebuild
34
31
----
35
32
36
33
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` .
46
36
47
37
After have made sure the codegen is run you can then build the package and
48
38
run it against a remote cluster by passing in the `kubeconfig` file.
49
39
50
40
`` `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
53
42
```
54
43
55
44
== Writing Additional Operators
You can’t perform that action at this time.
0 commit comments