diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/KubernetesTaskBase.java b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/KubernetesTaskBase.java index 5ae3cd078b45..2a490bee2acb 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/KubernetesTaskBase.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/KubernetesTaskBase.java @@ -1578,6 +1578,7 @@ public KubernetesCommandExecutor createResumeKubernetesUniverseTaskAZ( UUID providerUUID) { KubernetesCommandExecutor.Params params = new KubernetesCommandExecutor.Params(); Universe universe = Universe.getOrBadRequest(taskParams().getUniverseUUID()); + Provider provider = Provider.getOrBadRequest(providerUUID); params.universeName = universeName; params.commandType = KubernetesCommandExecutor.CommandType.RESUME_AZ; params.azCode = azCode; diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/subtasks/KubernetesCommandExecutor.java b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/subtasks/KubernetesCommandExecutor.java index c791f1981003..25eb498b64fc 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/subtasks/KubernetesCommandExecutor.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/tasks/subtasks/KubernetesCommandExecutor.java @@ -504,7 +504,6 @@ && taskParams().namespace == null) { break; case RESUME_AZ: - overridesFile = this.generateHelmOverride(); kubernetesManagerFactory .getManager() .helmResume( @@ -512,8 +511,7 @@ && taskParams().namespace == null) { taskParams().ybSoftwareVersion, config, taskParams().helmReleaseName, - taskParams().namespace, - overridesFile); + taskParams().namespace); break; } diff --git a/managed/src/main/java/com/yugabyte/yw/common/KubernetesManager.java b/managed/src/main/java/com/yugabyte/yw/common/KubernetesManager.java index 3fd626c1a1c2..18d35677de22 100644 --- a/managed/src/main/java/com/yugabyte/yw/common/KubernetesManager.java +++ b/managed/src/main/java/com/yugabyte/yw/common/KubernetesManager.java @@ -225,8 +225,7 @@ public void helmResume( String ybSoftwareVersion, Map config, String helmReleaseName, - String namespace, - String overridesFile) { + String namespace) { String helmPackagePath = this.getHelmPackagePath(ybSoftwareVersion); List commandList = @@ -238,8 +237,6 @@ public void helmResume( helmPackagePath, "--debug", "--reuse-values", - "-f", - overridesFile, "--namespace", namespace, "--timeout",