File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
- # WebServer Operator
1
+ # WebPage Operator
2
2
3
3
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
5
5
static webpage definition and creates an NGINX Deployment backed by a ConfigMap which holds
6
6
the HTML.
7
7
23
23
</html>
24
24
` ` `
25
25
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
+
26
36
### Try
27
37
28
38
The quickest way to try the operator is to run it on your local machine, while it connects to a local or remote
You can’t perform that action at this time.
0 commit comments