Skip to content

Update change in kubernetesClient.customResource in spring-boot-crd Quickstart #1985

@Prathamkrishna

Description

@Prathamkrishna

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

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project spring-boot-crd: Compilation failure
[ERROR] {path-to-project}/jkube/quickstarts/maven/spring-boot-crd/src/main/java/org/eclipse/jkube/quickstart/springboot/crd/FrameworkResource.java:[41,56] cannot find symbol
[ERROR]   symbol:   method customResource(io.fabric8.kubernetes.client.dsl.base.CustomResourceDefinitionContext)
[ERROR]   location: variable kubernetesClient of type io.fabric8.kubernetes.client.KubernetesClient

Sample Reproducer Project

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions