replace london rpi cert with openwrt cert

This commit is contained in:
viktorbarzin 2021-08-15 16:40:12 +01:00
parent 9b80a7b570
commit d910bdf769
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 11 additions and 11 deletions

22
main.tf
View file

@ -50,18 +50,18 @@ variable "ansible_prefix" {
description = "Provisioner command" description = "Provisioner command"
} }
data "terraform_remote_state" "foo" { # data "terraform_remote_state" "foo" {
backend = "kubernetes" # backend = "kubernetes"
config = { # config = {
secret_suffix = "state" # secret_suffix = "state"
namespace = "drone" # namespace = "drone"
in_cluster_config = var.prod # in_cluster_config = var.prod
host = "https://kubernetes:6443" # host = "https://kubernetes:6443"
// load_config_file = true # // load_config_file = true
} # }
depends_on = [module.kubernetes_cluster] # depends_on = [module.kubernetes_cluster]
} # }
provider "kubernetes" { provider "kubernetes" {
config_path = var.prod ? "" : "~/.kube/config" config_path = var.prod ? "" : "~/.kube/config"
} }

BIN
terraform.tfstate Normal file

Binary file not shown.

Binary file not shown.