-
Notifications
You must be signed in to change notification settings - Fork 480
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
server.port lookup fails for complex values #2444
Comments
I think there was already an issue for something similar, but I can't seem to find it now. Anyway, I guess this is a common use case and we might want to tackle it. |
This was referenced Nov 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a spring-boot app with the following application.yml (top only):
And I am using the spring boot generator which tries to find the HTTP port from the config: https://eclipse.dev/jkube/docs/kubernetes-maven-plugin/#generator-spring-boot
When running
And a jkube configuration like the following:
With maven 3.9.4 (outdated values in the form ;) ), I get the following error in the output
Thanks!
Eclipse JKube version
1.15.0
Component
Kubernetes Maven Plugin
Apache Maven version
other (please specify in additional context)
Gradle version
None
Steps to reproduce
server.port
value in theapplication.yml
file./mvnw k8s:resource
Expected behavior
I would expect:
Runtime
other (please specify in additional context)
Kubernetes API Server version
1.25.3
Environment
macOS
Eclipse JKube Logs
Sample Reproducer Project
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: