question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImageStream triggers break DeploymentConfigs on OpenShift

See original GitHub issue

it seems moving to 3.4.0 of fmp adds mandatory ImageStreamChange triggers OOTB to DeploymentConfig which breaks them massively on OpenShift:

  • using oc apply, mvn fabric8:deploy or gofabric8 deploy results in nothing being deployed at all. You have to then manually go into each DC and trigger it (e.g. via the Deploy button in the OpenShift console
  • oc edit dc foo no longer updates the DC at all 😉

i.e. the DCs become pretty much utterly useless! 😃

So adding ImageStreamChange triggers OOTB sounds kinda scary. So lets at least make them optional for now (maybe defaulting to disabled to reduce breaking things?)

I wonder what the logic should be to ever include them since it seems to break things. Maybe we only enable them if we know that we are building the container image itself via an image stream? In my use case (the upstream fabric8 project) the images are public docker hub images and so are not built via ImageStreams

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
rhusscommented, May 17, 2017

The solution to make mode independent deployment descriptors (as it should) is in fact #678 (which is the very next on my task list. finally 😉

0reactions
jstrachancommented, Aug 2, 2017

@rhuss enjoy your PTO! Lemme mark as closed as I think it is - we can always reopen if not

Read more comments on GitHub >

github_iconTop Results From Across the Web

Triggering updates on image stream changes
OpenShift Container Platform deployment configurations and build configurations can be automatically triggered by changes to image stream tags.
Read more >
2000216 – Successfully imported ImageStreams are not ...
Cause: the image policy admission plugin didn't know about deployment configs and that stateful sets can be updated. Consequence: image stream references ...
Read more >
OpenShift Container Platform 4.11 Images
image, ensuring that your application do not break unexpectedly. ... An image stream trigger causes a specific action when an image stream ......
Read more >
Chapter 4. Deployments OpenShift Container Platform 4.2
An ImageChange trigger causes a new Deployment to be created each time a new version of the backing image is available in the...
Read more >
OpenShift Container Platform 4.9 Images
image, ensuring that your application do not break unexpectedly. ... An image stream trigger causes a specific action when an image stream tag...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found