Closed Prathamkrishna closed 1 year ago
The quickstart seems to get kubernetes-client dependency from kubernetes-maven-plugin
. We upgrade to 6.x version which dropped customResource(context)
DSL method. We need to use genericKubernetesResources()
DSL method instead
Gradle equivalent quickstart doesn't seem to be affected by this since it's explicitly importing kubernetes-client dependency:
However, we should think about updating in there as well (maybe in a separate issue)
Describe the bug
Running the spring-boot-crd project throws an error of Kubernetes not found. mvn version: 3.8.6 minikube version: 1.37.1
Eclipse JKube version
1.10.0
Component
Kubernetes Maven Plugin
Apache Maven version
other (please specify in additional context)
Gradle version
None
Steps to reproduce
run
mvn spring-boot:run
once you move into the project.Expected behavior
The project has to run.
Runtime
Kubernetes (vanilla), minikube
Kubernetes API Server version
other (please specify in additional context)
Environment
macOS
Eclipse JKube Logs
Sample Reproducer Project
No response
Additional context
No response