-
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 resource name and version no longer depend on container image configuration #33724
Kubernetes resource name and version no longer depend on container image configuration #33724
Conversation
4974bd9
to
6f9f0ee
Compare
6f9f0ee
to
fcb6b3a
Compare
✔️ The latest workflow run for the pull request has completed successfully. It should be safe to merge provided you have a look at the other checks in the summary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in ApplyOpenshiftRouteConfigurator.java is a change of behavior that needs to be justified (from my point of view, if the route is exposed, why should we edit a provided one by the user?).
I think we should first fully understand why the failing test is not working well after the changes in the first commit.
Generally speaking, the whole idea of using This is also the behavior that is tested by the
By removing the defaults we end up with 0 Regardless, of what dekorate does internally, quarkus does have a |
So, before your changes, the targetPort was set to With your changes about the Did I understand what is going well now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
So what's the right way to customize the names in kubernetes yaml? Is it I mean these names: yq '.spec.template.spec.containers[].name' target/kubernetes/kubernetes.yml
yq '.metadata.name' target/kubernetes/kubernetes.yml |
@rsvoboda: |
Thanks @iocanel! I checked the docs and it's mentioned in deploying-to-kubernetes.adoc docs/src/main/asciidoc/deploying-to-kubernetes.adoc:The name of the resource is determined by the application name and may be overridden by tbh I didn't find the info in https://quarkus.io/guides/deploying-to-kubernetes as I gave up. The guide is super long, The only idea I have atm is to have the config properties listed in separate document and reference it from
I will open dedicated issue to collect ideas. |
Resolves: #33554