ImageStream triggers break DeploymentConfigs on OpenShift
See original GitHub issueit 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
orgofabric8 deploy
results in nothing being deployed at all. You have to then manually go into each DC and trigger it (e.g. via theDeploy
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:
- Created 6 years ago
- Comments:22 (22 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 😉
@rhuss enjoy your PTO! Lemme mark as closed as I think it is - we can always reopen if not