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