Skip to content

feat: extract quarkus extension to the Quarkiverse #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ Note that these docs are currently in progress.
> Kubernetes client. While this should improve the user experience quite nicely, there are a couple
> of things to be aware of when upgrading from a previous version as detailed below.

#### Overview of the 1.8.0 changes

- The quarkus extension has been moved to the quarkiverse and is now found at
https://github.com/quarkiverse/quarkus-operator-sdk

##### Overview of the 1.7.0 changes

- `Doneable` classes have been removed along with all the involved complexity
Expand Down Expand Up @@ -208,18 +213,19 @@ a `mycrs` plural form will result in 2 files:

A [Quarkus](https://quarkus.io) extension is also provided to ease the development of Quarkus-based operators.

Add [this dependency](https://search.maven.org/search?q=a:operator-framework-quarkus-extension)
Add [this dependency](https://search.maven.org/search?q=a:quarkus-operator-sdk)
to your project:

```xml

<dependency>
<groupId>io.javaoperatorsdk</groupId>
<artifactId>operator-framework-quarkus-extension</artifactId>
<version>{see https://search.maven.org/search?q=a:operator-framework-quarkus-extension for latest version}</version>
<groupId>io.quarkiverse.operatorsdk</groupId>
<artifactId>quarkus-operator-sdk</artifactId>
<version>{see https://search.maven.org/search?q=a:quarkus-operator-sdk for latest version}</version>
</dependency>
```

Create an Application, Quarkus will automatically create and inject a `KubernetesClient`, `Operator`, `ConfigurationService` and `ResourceController` instances that your application can use. Below, you can see the minimal code you need to write to get your operator and controllers up and running:
Create an Application, Quarkus will automatically create and inject a `KubernetesClient` (or `OpenShiftClient`), `Operator`, `ConfigurationService` and `ResourceController` instances that your application can use. Below, you can see the minimal code you need to write to get your operator and controllers up and running:

```java
@QuarkusMain
Expand Down
2 changes: 1 addition & 1 deletion operator-framework-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.javaoperatorsdk</groupId>
<artifactId>java-operator-sdk</artifactId>
<version>1.7.6-SNAPSHOT</version>
<version>1.8.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
66 changes: 0 additions & 66 deletions operator-framework-quarkus-extension/deployment/pom.xml

This file was deleted.

This file was deleted.

Loading