Skip to content

Commit a6a57af

Browse files
authored
docs: webpage sample docs improvement (#2069)
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 6a93ce4 commit a6a57af

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

sample-operators/webpage/README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# WebServer Operator
1+
# WebPage Operator
22

33
This is a simple example of how a Custom Resource backed by an Operator can serve as
4-
an abstraction layer. This Operator will use a webserver resource, which mainly contains a
4+
an abstraction layer. This Operator will use a WebPage resource, which mainly contains a
55
static webpage definition and creates an NGINX Deployment backed by a ConfigMap which holds
66
the HTML.
77

@@ -23,6 +23,16 @@ spec:
2323
</html>
2424
```
2525
26+
27+
### Different Flavors
28+
29+
Sample contains three implementation, that are showcasing the different approaches possible with the framework,
30+
the resulting behavior is almost identical behavior at the end:
31+
32+
- [Low level API](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageDependentsWorkflowReconciler.java)
33+
- [Using managed dependent resources](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageManagedDependentsReconciler.java)
34+
- [Using standalone Dependent Resources](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/webpage/src/main/java/io/javaoperatorsdk/operator/sample/WebPageStandaloneDependentsReconciler.java)
35+
2636
### Try
2737
2838
The quickest way to try the operator is to run it on your local machine, while it connects to a local or remote

0 commit comments

Comments
 (0)