Skip to content
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

BXMSDOC-8463-main: Add example of scheduledImportPolicy #132

Merged
merged 1 commit into from
Jun 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,28 @@ spec:
====
If an ImageStream with the configured name exists in the namespace that you are using or in the {OPENSHIFT} namespace, the operator uses this ImageStream and does not create a new ImageStream.

To configure an ImageStream to update automatically, the ImageStream property `scheduledImportPolicy` must be set to `true` in the KieApp CR YAML file.
To configure an ImageStream to update automatically, the ImageStream property `scheduledImportPolicy` must be set to `true` in the KieApp CR YAML file. For example:

.Example of `scheduledImportPolicy`
[source,yaml]
----
apiVersion: app.kiegroup.org/v2
kind: KieApp
spec:
...
useImageTags: true
scheduledImportPolicy: true
imageRegistry:
registry: registry.example.com:5000
...
objects:
...
servers:
- id: ...
...
image: YOUR_IMAGE_NAME
imageContext: YOUR_IMAGE_CONTEXT
imageTag: YOUR_IMAGE_TAG
...
----
====