make tls crt and keys optional params to the create_tls_secret module

This commit is contained in:
viktorbarzin 2021-02-17 19:22:04 +00:00
parent 6ce627dd91
commit 40faa5dc0e
15 changed files with 14 additions and 83 deletions

View file

@ -1,14 +1,10 @@
variable "tls_secret_name" {}
variable "tls_crt" {}
variable "tls_key" {}
variable "alertmanager_account_password" {}
module "tls_secret" {
source = "../setup_tls_secret"
namespace = "monitoring"
tls_secret_name = var.tls_secret_name
tls_crt = var.tls_crt
tls_key = var.tls_key
}
resource "helm_release" "prometheus" {