From 3de1423ed544ef159d68add79249a07dd5bd60f6 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 16 Nov 2020 01:21:30 +0700 Subject: [PATCH] Disable default nginx ingress controller --- platform/main.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/main.tf b/platform/main.tf index a116e693..b9d1392c 100644 --- a/platform/main.tf +++ b/platform/main.tf @@ -2,6 +2,10 @@ provider "rke" { debug = true } +provider "kubernetes" { + config_path = "${path.root}/kube_config.yaml" +} + provider "helm" { kubernetes { config_path = "${path.root}/kube_config.yaml" @@ -40,6 +44,10 @@ resource rke_cluster "cluster" { ssh_key = file("~/.ssh/id_rsa") } } + + ingress { + provider = "none" + } } resource "local_file" "kube_config_yaml" {