Update terraform.tf, .gitlab-ci.yml
This commit is contained in:
@@ -20,7 +20,6 @@ plan production:
|
|||||||
apply:
|
apply:
|
||||||
extends: .apply
|
extends: .apply
|
||||||
variables:
|
variables:
|
||||||
KUBECONFIG: "$CI_PROJECT_DIR/config"
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo "token = \"$token\"" >> terraform.tfvars
|
- echo "token = \"$token\"" >> terraform.tfvars
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ resource "linode_lke_cluster" "foobar" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provider "kubectl" {
|
provider "kubectl" {
|
||||||
|
config_path = "$CI_PROJECT_DIR/config"
|
||||||
load_config_file = true
|
load_config_file = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user