Skip to content

Commit

Permalink
fix: "feat: variablise activemq class name and path on premise" (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngruelaneo authored Sep 21, 2023
2 parents 36c1941 + 0fdfcfd commit 0aa4ff9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions infrastructure/quick-deploy/localhost/all-in-one/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ module "activemq" {
source = "./generated/infra-modules/storage/onpremise/activemq"
namespace = local.namespace
activemq = {
image = var.activemq.image_name
tag = try(coalesce(var.activemq.image_tag), local.default_tags[var.activemq.image_name])
node_selector = var.activemq.node_selector
image_pull_secrets = var.activemq.image_pull_secrets
adapter_class_name = var.activemq.adapter_class_name
adapter_absolute_path = var.activemq.adapter_absolute_path
image = var.activemq.image_name
tag = try(coalesce(var.activemq.image_tag), local.default_tags[var.activemq.image_name])
node_selector = var.activemq.node_selector
image_pull_secrets = var.activemq.image_pull_secrets
}
}

Expand Down
10 changes: 4 additions & 6 deletions infrastructure/quick-deploy/localhost/all-in-one/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ variable "shared_storage" {
variable "activemq" {
description = "Parameters of ActiveMQ"
type = object({
image_name = optional(string, "symptoma/activemq")
image_tag = optional(string)
node_selector = optional(any, {})
image_pull_secrets = optional(string, "")
adapter_class_name = optional(string, "ArmoniK.Core.Adapters.Amqp.QueueBuilder")
adapter_absolute_path = optional(string, "/adapters/queue/amqp/ArmoniK.Core.Adapters.Amqp.dll")
image_name = optional(string, "symptoma/activemq")
image_tag = optional(string)
node_selector = optional(any, {})
image_pull_secrets = optional(string, "")
})
default = {}
}
Expand Down

0 comments on commit 0aa4ff9

Please sign in to comment.