forked from redhat-developer/app-services-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request redhat-developer#48 from bf2fc6cc711aee1a0c2a/plug…
…in-fixes chore: remove invalid config samples
- Loading branch information
Showing
93 changed files
with
187 additions
and
9,768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,54 @@ | ||
# Operator source | ||
# RHOAS Operator | ||
|
||
## Getting started | ||
|
||
### Prerequisites | ||
|
||
- Java 11+ | ||
- mvn | ||
- OpenShift Client (or kubernetes) | ||
|
||
### Running Operator | ||
|
||
1. Login to your OpenShift cluster | ||
`oc login` | ||
|
||
2. Install dependencies | ||
``` | ||
mvn clean install | ||
``` | ||
|
||
3. Run operator | ||
|
||
`cd source/rhoas; mvn quarkus:dev` | ||
|
||
3. See ./examples folder for example CR's workflow that should be used to test operator | ||
|
||
## Folder structure | ||
|
||
``` | ||
├── api-mock contains service api mocks | ||
├── docs documentation | ||
├── examples CR examples for testing | ||
├── olm OLM configuration for deployment | ||
└── source Java packages | ||
``` | ||
|
||
Java Source packages | ||
``` | ||
├── model CR model files used to call kubernetes api | ||
├── openapi Contains POJOS that conform to OpenAPI spec | ||
├── rhoas API controllers | ||
``` | ||
|
||
## Running Locally | ||
`cd rhoas; mvn quarkus:dev` | ||
|
||
## Building Operator Image | ||
|
||
This will build an operator image and push it to quay.io/secondusn/rhoas-operator. | ||
|
||
`mvn clean install -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true`. | ||
|
||
## Updating olm | ||
## Updating olm images | ||
|
||
Replace the image in `rhoas-operator.v0.0.1.clusterserviceversion.yaml` with your new operator image and follow the instruction in the olm readme. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.