8000 Merge pull request #329 from java-operator-sdk/clean-up-samples · r00ta/java-operator-sdk@2cc672b · GitHub
[go: up one dir, main page]

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

Lines changed: 6 additions & 3 deletions
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

Lines changed: 0 additions & 7 deletions
This file was deleted.

samples/mysql-schema/README.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

samples/mysql-schema/k8s/crd.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

samples/mysql-schema/k8s/deployment.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

samples/mysql-schema/k8s/example.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

samples/mysql-schema/k8s/mysql.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

samples/mysql-schema/k8s/rbac.yaml

Lines changed: 0 additions & 49 deletions
This file was deleted.

samples/mysql-schema/pom.xml

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0