From 41f1f40540cfa4a2fe22b74af761766dae9fda89 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 25 Sep 2022 02:01:59 +0000 Subject: [PATCH] Update .gitlab-ci.yml, terraform.tf --- .gitlab-ci.yml | 2 ++ terraform.tf | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a06442..8eabdc8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,8 @@ plan production: apply: extends: .apply + variables: + KUBECONFIG: "$CI_PROJECT_DIR/config" before_script: - echo "token = \"$token\"" >> terraform.tfvars diff --git a/terraform.tf b/terraform.tf index 34b07f1..e99334f 100644 --- a/terraform.tf +++ b/terraform.tf @@ -34,7 +34,6 @@ resource "linode_lke_cluster" "foobar" { } provider "kubectl" { - config_path = "config" load_config_file = true }