Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
fix: no cleanup of config if not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
csviri committed Apr 4, 2023
1 parent 87e00ed commit bfe772c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ public void stop() {
log.debug("Stopping");
kubeApiServerProcess.stopApiServer();
etcdProcess.stopEtcd();
kubeConfig.cleanupFromKubeConfig();
if (config.isUpdateKubeConfig()) {
kubeConfig.cleanupFromKubeConfig();
}
etcdProcess.cleanEtcdData();
log.debug("Stopped");
}
Expand Down

0 comments on commit bfe772c

Please sign in to comment.