From c6f40bddba3eb7eab0603730fe63afe010873ef7 Mon Sep 17 00:00:00 2001 From: Francesco Latini Date: Sun, 7 Jul 2024 12:09:41 +0200 Subject: [PATCH] Rename axonserver.license to axoniq.license --- README.md | 2 +- secrets.tf | 6 +++--- statefulset.tf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 54914f2..f81208c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ module "as_demo" { cluster_name = "axonserver" public_domain = "axoniq.net" - axonserver_license_path = file("${path.module}/axonserver.license") + axonserver_license_path = file("${path.module}/axoniq.license") } ``` diff --git a/secrets.tf b/secrets.tf index b0ba4d7..69583de 100755 --- a/secrets.tf +++ b/secrets.tf @@ -17,13 +17,13 @@ resource "kubernetes_secret" "axonserver_token" { immutable = true } -resource "kubernetes_secret" "axonserver_license" { +resource "kubernetes_secret" "axoniq_license" { metadata { - name = "axonserver.license" + name = "axoniq.license" namespace = kubernetes_namespace.as_demo.id } data = { - "axonserver.license" = var.axonserver_license_path + "axoniq.license" = var.axonserver_license_path } } diff --git a/statefulset.tf b/statefulset.tf index bab1ebb..7d0e07d 100755 --- a/statefulset.tf +++ b/statefulset.tf @@ -180,7 +180,7 @@ resource "kubernetes_stateful_set" "axonserver" { name = "license" secret { - secret_name = kubernetes_secret.axonserver_license.metadata[0].name + secret_name = kubernetes_secret.axoniq_license.metadata[0].name } }