Skip to content

Remove deletion by Kubernetes client code from CustomServiceController #295

@adam-sandor

Description

@adam-sandor

The controller should not be using the K8s client to delete the resource, that is done by the framework in the background.

kubernetesClient
        .services()
        .inNamespace(resource.getMetadata().getNamespace())
        .withName(resource.getSpec().getName())
        .delete();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions