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,6 +1,4 @@
variable "tls_secret_name" {}
variable "tls_crt" {}
variable "tls_key" {}
variable "client_certificate_secret_name" {}
resource "random_password" "csrf_token" {
@ -24,8 +22,6 @@ module "tls_secret" {
source = "../setup_tls_secret"
namespace = "kubernetes-dashboard"
tls_secret_name = var.tls_secret_name
tls_crt = var.tls_crt
tls_key = var.tls_key
}
# # locals {