You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that ImageChangeTrigger is also available with Deployment, this can be configured by setting an annotation, example:
$ oc set triggers deploy/example --from-image=example:latest -c web
will create a trigger so that the image reference in the Deployment "example" for the container "web" will be updated any time a new image is pushed to example:latest. The change in Deployment configuration will then automatically trigger a new deployment.
More information at: https://docs.openshift.com/container-platform/3.11/dev_guide/managing_images.html#image-stream-kubernetes-resources
Today the file target/kubernetes/openshift.yml contains a DeploymentConfiguration this RFE proposes to use a Deployment with an image change trigger annotation instead.
The text was updated successfully, but these errors were encountered:
Description
Not only for Kubernetes but also for OpenShift Deployment should be preferred to DeploymentConfiguration, cf OpenShift documentation:
https://docs.openshift.com/container-platform/4.4/applications/deployments/what-deployments-are.html#deployments-comparing-deploymentconfigs_what-deployments-are
Note that ImageChangeTrigger is also available with Deployment, this can be configured by setting an annotation, example:
$ oc set triggers deploy/example --from-image=example:latest -c web
will create a trigger so that the image reference in the Deployment "example" for the container "web" will be updated any time a new image is pushed to example:latest. The change in Deployment configuration will then automatically trigger a new deployment.
More information at: https://docs.openshift.com/container-platform/3.11/dev_guide/managing_images.html#image-stream-kubernetes-resources
Today the file target/kubernetes/openshift.yml contains a DeploymentConfiguration this RFE proposes to use a Deployment with an image change trigger annotation instead.
The text was updated successfully, but these errors were encountered: