-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes extension(s) have stopped generating the app.openshift.io/runtime label #26516
Comments
Seems related to #26273. Does the application perhaps have any relevant configuration? |
Nope. Not a single line of code or configuration changed between 2.10.0.Final and 2.10.1.Final. The label disappeared in 2.10.1.Final. This is in all the superheroes apps (https://github.com/quarkusio/quarkus-super-heroes). The apps have all the container extensions present (kubernetes/minikube/knative/openshift) and this happens when running I did add quarkusio/quarkus-super-heroes@bbd570e as a workaround once I noticed this. I'll remove it once it's fixed. |
I couldn't reproduce this. In the |
Did you remove https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-fights/src/main/resources/application.properties#L109 ? As I mentioned in my last comment I added that in after I noticed the label missing. |
The configuration was not present in my test |
I'll look at it again tomorrow when I'm back in the office, but if you look at this commit (this is the upgrade from 2.10.0 to 2.10.1) All the |
@geoand Remove ./mvnw clean package -DskipTests -Dquarkus.kubernetes.deployment-target=openshift -Dquarkus.knative.labels.\"app.openshift.io/runtime\"=quarkus Then look at |
Gotcha, I see what the problem is. |
Ensure that labels for different k8s targets don't interfere with each other
…h other Fixes: quarkusio#26516 (cherry picked from commit c808a4f)
Describe the bug
I'm not sure which extension it is, but since Quarkus 2.10.1.Final the
app.openshift.io/runtime: quarkus
label is now missing from resources generated when usingquarkus.kubernetes.deployment-target=openshift
. For some reason it is still working when settingquarkus.kubernetes.deployment-target=knative
.You can see this in this diff: quarkusio/quarkus-super-heroes@fe02dae?diff=unified#diff-dc6194623579af548ca3da8872f2c72c20d41fb010026243a203b2d52da3defaL48
This commit is the diff between
2.10.0.Final
&2.10.1.Final
. There were no other commits in between the upgrade to2.10.0.Final
(where it was behaving correctly) and2.10.1.Final
(where it is missing).The text was updated successfully, but these errors were encountered: