Skip to content

Commit

Permalink
fix : Remove serverSideApply() call from PodGroupService
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
  • Loading branch information
rohanKanojia committed Nov 15, 2023
1 parent 0367660 commit beafd38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void addToGroup(Pod newPod) {
newLabels.putAll(matchLabels);

newPod.getMetadata().setLabels(newLabels);
kubernetesClient.pods().resource(newPod).serverSideApply();
kubernetesClient.pods().resource(newPod).create();
}

public List<StatusDetails> delete() {
Expand Down

0 comments on commit beafd38

Please sign in to comment.