Skip to content

Commit 2cc672b

Browse files
authored
Merge pull request operator-framework#329 from java-operator-sdk/clean-up-samples
Move samples to standalone repo
2 parents 374f1c2 + 9316e85 commit 2cc672b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6
-2278
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,16 @@ the `Namescaped` interface.
7878
#### Usage
7979

8080
We have several sample Operators under the [samples](samples) directory:
81-
* *basic*: Minimal Operator implementation which only parses the Custom Resource and prints to stdout.
81+
* *pure-java*: Minimal Operator implementation which only parses the Custom Resource and prints to stdout.
8282
Implemented with and without Spring Boot support. The two samples share the common module.
83-
* *webserver*: More realistic example creating an nginx webserver from a Custom Resource containing html code.
84-
* *mysql-schema*: Operator managing schemas in a MySQL database
8583
* *spring-boot-plain/auto-config*: Samples showing integration with Spring Boot.
8684
* *quarkus*: Minimal application showing automatic configuration / injection of Operator / Controllers.
8785

86+
And there are more samples in the standalone [samples repo](https://github.com/java-operator-sdk/samples):
87+
* *webserver*: Simple example creating an NGINX webserver from a Custom Resource containing HTML code.
88+
* *mysql-schema*: Operator managing schemas in a MySQL database.
89+
* *tomcat*: Operator with two controllers, managing Tomcat instances and Webapps for these.
90+
8891
Add [dependency](https://search.maven.org/search?q=a:operator-framework) to your project with Maven:
8992

9093
```xml

samples/mysql-schema/Dockerfile

-7
This file was deleted.

samples/mysql-schema/README.md

-77
This file was deleted.

samples/mysql-schema/k8s/crd.yaml

-25
This file was deleted.

samples/mysql-schema/k8s/deployment.yaml

-48
This file was deleted.

samples/mysql-schema/k8s/example.yaml

-6
This file was deleted.

samples/mysql-schema/k8s/mysql.yaml

-43
This file was deleted.

samples/mysql-schema/k8s/rbac.yaml

-49
This file was deleted.

samples/mysql-schema/pom.xml

-112
This file was deleted.

0 commit comments

Comments
 (0)