-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Spec.ApplicationSourceSpec to build the application image from a Git repository using WildFly S2I images Make Spec.ApplicationImage optional as the definition of ApplicationSourceSpec allows an alternative. Create ImageStream and BuildConfig resources to handle S2I builds Use image.openshift.io/triggers annotation to trigger statefulset update when the image stream changes When a runtime image must be used, set GALLEON_PROVISION_DEFAULT_FAT_SERVER to true only when GALLEON_PROVISION_LAYERS is not defined. ApplicationSourceSpec's GitHubWebHookSecret and GenericWebHookSecret references secrets in the same namespace than the WildFlyServer resource. These secrets must have a key named WebHookSecretKey whose value is used to create the WebHook URL. If they are omitted from the spec, the operator will automatically generate respective secrets. Update references to WildFly 19 S2I Images Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
- Loading branch information
Showing
109 changed files
with
37,779 additions
and
619 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
4 changes: 2 additions & 2 deletions
4
deploy/crds/quickstart-cr.yaml → deploy/crds/quickstart-image.yaml
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,7 +1,7 @@ | ||
apiVersion: wildfly.org/v1alpha1 | ||
kind: WildFlyServer | ||
metadata: | ||
name: quickstart | ||
name: quickstart-image | ||
spec: | ||
applicationImage: "quay.io/wildfly-quickstarts/wildfly-operator-quickstart:18.0" | ||
replicas: 2 | ||
replicas: 1 |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: wildfly.org/v1alpha1 | ||
kind: WildFlyServer | ||
metadata: | ||
name: quickstart | ||
spec: | ||
applicationSource: | ||
# The application will be built from the Web application at | ||
# https://github.com/wildfly/quickstart/tree/19.0.0.Final/helloworld-rs | ||
sourceRepository: | ||
url: "https://github.com/wildfly/quickstart.git" | ||
ref: "19.0.0.Final" | ||
source2Image: | ||
builderImage: "wildfly-centos7:19.0" | ||
runtimeImage: "wildfly-runtime-centos7:19.0" | ||
env: | ||
# cloud-server provision a WildFly server that can runs JAX-RS application | ||
- name: GALLEON_PROVISION_LAYERS | ||
value: "cloud-server" | ||
- name: MAVEN_ARGS | ||
value: "install -pl org.wildfly.quickstarts:helloworld-rs -am " | ||
- name: ARTIFACT_DIR | ||
value: "helloworld-rs/target" | ||
replicas: 1 |
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.