replace london rpi cert with openwrt cert
This commit is contained in:
parent
9b80a7b570
commit
d910bdf769
3 changed files with 11 additions and 11 deletions
22
main.tf
22
main.tf
|
|
@ -50,18 +50,18 @@ variable "ansible_prefix" {
|
|||
description = "Provisioner command"
|
||||
}
|
||||
|
||||
data "terraform_remote_state" "foo" {
|
||||
backend = "kubernetes"
|
||||
config = {
|
||||
secret_suffix = "state"
|
||||
namespace = "drone"
|
||||
in_cluster_config = var.prod
|
||||
host = "https://kubernetes:6443"
|
||||
// load_config_file = true
|
||||
}
|
||||
# data "terraform_remote_state" "foo" {
|
||||
# backend = "kubernetes"
|
||||
# config = {
|
||||
# secret_suffix = "state"
|
||||
# namespace = "drone"
|
||||
# in_cluster_config = var.prod
|
||||
# host = "https://kubernetes:6443"
|
||||
# // load_config_file = true
|
||||
# }
|
||||
|
||||
depends_on = [module.kubernetes_cluster]
|
||||
}
|
||||
# depends_on = [module.kubernetes_cluster]
|
||||
# }
|
||||
provider "kubernetes" {
|
||||
config_path = var.prod ? "" : "~/.kube/config"
|
||||
}
|
||||
|
|
|
|||
BIN
terraform.tfstate
Normal file
BIN
terraform.tfstate
Normal file
Binary file not shown.
BIN
terraform.tfvars
BIN
terraform.tfvars
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue