Skip to content

ModelMapper alternative in kubernetes-client-openapi-operator #908

@ayushghosh

Description

@ayushghosh

While using io.micronaut.kubernetes:micronaut-kubernetes-operator we have access to the java client to use the ModelMapper to add the model.

However while using, implementation("io.micronaut.kubernetes:micronaut-kubernetes-client-openapi-operator")
We don't use the k8s java client, so whats the plan or approach we should use here, so we have to add the client back for this.

I am using for a custom resource, and it complains about

could not be loaded: XXmodels.v1.V1Task is not supported
io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [XX.TaskOperator] could not be loaded: XXmodels.v1.V1Task is not supported

I also can't add ModelMapper.addModelMap as the types are incompatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions