We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825a9c2 commit 22183f4Copy full SHA for 22183f4
samples/common/src/main/java/io/javaoperatorsdk/operator/sample/CustomServiceController.java
@@ -28,11 +28,6 @@ public CustomServiceController(KubernetesClient kubernetesClient) {
28
@Override
29
public DeleteControl deleteResource(CustomService resource, Context<CustomService> context) {
30
log.info("Execution deleteResource for: {}", resource.getMetadata().getName());
31
- kubernetesClient
32
- .services()
33
- .inNamespace(resource.getMetadata().getNamespace())
34
- .withName(resource.getSpec().getName())
35
- .delete();
36
return DeleteControl.DEFAULT_DELETE;
37
}
38
0 commit comments