Replies: 3 comments 4 replies
-
The version is the pom version unless the use explicitly specifies a tag value. AFAIR, for s2i and docker build strategy we generate a trigger. For non open shift container image extensions we don't. Take this with a grain of salt, till I verify. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using the Quarkus OpenShift extension I'm noticing that in the generated
DeploymentConfig
sometimes thetriggers
section is there and sometimes it isn't.When its there, it looks like this:
Can someone tell me where that value
1.0
is coming from? Sometimes it shows up as1.0
, which is the<version>
in mypom.xml
, and other times it is coming from thequarkus.container-image.tag
property.To generate these files in
target/kubernetes/openshift.yml
I am running this command every timeBut I am seeing inconsistent results between runs.
You can try it yourself and see.
cd
intoquarkus-super-heroes
scripts/generate-app-k8s-resources.sh
rest-villains/deploy/k8s/gen
directory. There will beapp-java11-openshift.yml
,app-java17-openshift.yml
,app-native-java11-openshift.yml
, andapp-native-java17-openshift.yml
files and each will be inconsistent as to how theDeploymentConfig
was generated.Beta Was this translation helpful? Give feedback.
All reactions