-
Notifications
You must be signed in to change notification settings - Fork 40
how to use image stream with generated deployment #594
Comments
You can use triggers. For ref: http://kedgeproject.org/file-reference/ |
I did see that in the reference and I tried using it but I couldn't get it to work. Can you work through an example with me?
Can you give me a full example of doing that? |
Sure :) Here's my example, I already have imagestream:
and my kedgefile will look like this:
When I update imagestream using,
My deploymentconfig gets automatically updated. Does this solve your query ? @dustymabe |
if you check |
that is possible but only with internal openshift registry. That means you have to push your image to openshift images stream. It is not possible to do it with the external registry. |
yep. I understand that much :) @surajnarwade - thanks for the example. I was able to use your example and get something working:
I guess my problem with the docs is it never shows an example like this. It shows them under buildConfigObject, and I tried to use them but I had them at the wrong indentation or something. Maybe use this issue as a request for a docs example for this. |
if there happens to be an imagestream that already exists and I want to use it for a container that is part of my kedge.yaml file how do I do that? I was able to bring up a container that used the full name of the container to pull from a container registry, but what I'd really like is for a new deployment to get triggered when that image stream updates as well.
The text was updated successfully, but these errors were encountered: