Skip to content

Commit

Permalink
Merge pull request #7 from AxonIQ/6-rename-axonserverlicense-to-axoni…
Browse files Browse the repository at this point in the history
…qlicense

Rename axonserver.license to axoniq.license
  • Loading branch information
checco authored Jul 7, 2024
2 parents 3da7664 + c6f40bd commit ba30418
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down
6 changes: 3 additions & 3 deletions secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion statefulset.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit ba30418

Please sign in to comment.