Skip to content

Commit b8eff6d

Browse files
author
Shawn Hurley
committed
Adding ansible operator workflow to the README
1 parent a984491 commit b8eff6d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,20 @@ The Operator SDK is a framework that uses the [controller-runtime][controller_ru
2525

2626
The SDK provides workflows to develop operators in Go or Ansible.
2727

28-
The following workflow is for a new Go operator:
28+
The following workflow is for a new **Go** operator:
2929
1. Create a new operator project using the SDK Command Line Interface(CLI)
3030
2. Define new resource APIs by adding Custom Resource Definitions(CRD)
3131
3. Define Controllers to watch and reconcile resources
3232
4. Write the reconciling logic for your Controller using the SDK and controller-runtime APIs
3333
5. Use the SDK CLI to build and generate the operator deployment manifests
3434

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+
3542
## Prerequisites
3643

3744
- [dep][dep_tool] version v0.5.0+.

0 commit comments

Comments
 (0)