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
[#27] Support ImageStream #132
Conversation
this supersedes #130 |
1b28733
to
baa5123
Compare
0f17753
to
7195ed7
Compare
83c89b0
to
ccb7bd1
Compare
|
||
incremental := true | ||
|
||
builderImage := w.Spec.ApplicationSource.Source2Image.BuilderImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could be useful if the Operator is able to check if the image does not exist yet and print a log in case. Someone could forget to import the image streams and do not understand why, if the CRD was deployed, the application is not build by the operator. The documentation states the images must be available though, so this is just a suggestion
ccb7bd1
to
217ebbc
Compare
217ebbc
to
e135978
Compare
911048d
to
464d321
Compare
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>
464d321
to
4c651db
Compare
superseded by #147 |
Git repository using WildFly S2I
SourceRepositorySpec allows an alternative
update when the image stream changes
This fixes #27