Skip to content

Commit

Permalink
fix(k8s): regression in remote K8s init flow
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Mar 18, 2019
1 parent 06c8206 commit 77fb9fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions garden-service/src/plugins/kubernetes/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,17 @@ export async function prepareRemoteEnvironment({ ctx, log }: PrepareEnvironmentP
await login({ ctx: k8sCtx, log })
}

const provider = k8sCtx.provider

// Note: We don't need the system namespaces for remote k8s for now

// const provider = k8sCtx.provider
// const api = new KubeApi(provider.config.context)
// const contextForLog = `Preparing environment for plugin "kubernetes"`
// if (!await systemNamespaceUpToDate(api, log, contextForLog)) {
// await recreateSystemNamespaces(api, log)
// }
// await installTiller(k8sCtx, provider, log)

await installTiller(k8sCtx, provider, log)

return {}
}
Expand Down

0 comments on commit 77fb9fa

Please sign in to comment.