File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,20 @@ The Operator SDK is a framework that uses the [controller-runtime][controller_ru
25
25
26
26
The SDK provides workflows to develop operators in Go or Ansible.
27
27
28
- The following workflow is for a new Go operator:
28
+ The following workflow is for a new ** Go ** operator:
29
29
1 . Create a new operator project using the SDK Command Line Interface(CLI)
30
30
2 . Define new resource APIs by adding Custom Resource Definitions(CRD)
31
31
3 . Define Controllers to watch and reconcile resources
32
32
4 . Write the reconciling logic for your Controller using the SDK and controller-runtime APIs
33
33
5 . Use the SDK CLI to build and generate the operator deployment manifests
34
34
35
+ The following workflow is for a new ** Ansible** operator:
36
+ 1 . Create a new operator project using the SDK Command Line Interface(CLI).
37
+ 2 . Define new resource APIs by adding Custom Resource Definitions(CRD) (This can be done in the new command)
38
+ 3 . Write the reconciling logic for your object using ansible playbooks and roles.
39
+ 4 . Define the mapping between the CRD definition in the ` watches.yaml ` file.
40
+ 5 . Use the SDK CLI to build and generate the operator deployment manifests
41
+
35
42
## Prerequisites
36
43
37
44
- [ dep] [ dep_tool ] version v0.5.0+.
You can’t perform that action at this time.
0 commit comments