Skip to content

Commit

Permalink
update inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdongo-aneo committed Apr 19, 2024
1 parent 043ebac commit ace14ec
Showing 1 changed file with 46 additions and 112 deletions.
158 changes: 46 additions & 112 deletions AEP/aep-xxxxx.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,127 +78,61 @@ variable "control_plane" {
})), [])
})
}
variable "control_plane_env" {
description = "Environment variables to pass to the control plane"
type = map(string)
default = {}
// Example:
// {
// "Components__QueueAdaptorSettings__AdapterAbsolutePath" = "/adapters/queue/amqp/ArmoniK.Core.Adapters.Amqp.dll"
// }
}
variable "control_plane_env_cm" {
description = "Environment variables from existing config map to pass to the control plane"
type = set(string)
default = []
// Example:
// [
// "amqp-cm"
// ]
//
// amqp-cm:
// Amqp__MaxRetries: 5
// Amqp__LinkCredit: 2
}
variable "control_plane_env_secret" {
description = "Environment variables from existing secret to pass to the control plane"
type = set(string)
default = []
// Example:
// [
// "amqp-secret"
// ]
//
// amqp-secret:
// Amqp__Host: amqp.svc
// Amqp__Scheme: AMQPS
// Amqp__AllowHostMismatch: true
}
variable "control_plane_env_from_secret" {
description = "Environment variables from existing secret to pass to the control plane"
type = map(object({
secret = string
variable "compute_plane" {
type = object({
// ...
conf = optional(list(object({
env = optional(map(string), {})
env_configmap = optional(set(string), [])
env_from_configmap = optional(map(object({
configmap = string
field = string
}))
default = {}
// Example:
// {
// "Amqp__User" = {
// secret = "amqp-credentials"
// field = "user"
// },
// "Amqp__Password" = {
// secret = "amqp-credentials"
// field = "password"
// }
// }
//
// amqp-credentials:
// user: dG90bw==
// password: dG90bw==
})), {})
})), [])
})
}
variable "control_plane_mount_cm" {
description = "Volume mount from ConfigMap to pass to the control plane"
type = map(object({
variable "polling_agent" {
type = object({
// ...
conf = optional(list(object({
env = optional(map(string), {})
env_configmap = optional(set(string), [])
env_from_configmap = optional(map(object({
configmap = string
path = string
subpath = optional(string)
mode = optional(string, "644")
items = optional(map(object({
mode = optional(string, "644")
field = string
})), {})
}))
default = {}
field = string
})), {})
})), [])
})
}
variable "control_plane_mount_secret" {
description = "Volume mount from Secret to pass to the control plane"
type = map(object({
secret = string
path = string
subpath = optional(string)
mode = optional(string, "644")
items = optional(map(object({
mode = optional(string, "644")
field = string
})), {})
}))
default = {}
// Example:
// {
// "amqp-certificates" = {
// secret = "amqp-certs"
// path = "/amqp"
// subpath = null
// mode = "600"
// items = {
// "amqp.pem" = {
// mode = "600"
// field = "ca.crt"
// }
// }
// }
// }
//
// amqp-certificates:
// ca.crt: BASE64==
//
// /amqp
// └── amqp.pem
variable "worker" {
type = object({
// ...
conf = optional(list(object({
env = optional(map(string), {})
env_configmap = optional(set(string), [])
env_from_configmap = optional(map(object({
configmap = string
field = string
})), {})
})), [])
})
}
variable "control_plane_mount_volume" {
type = ToBeDefined
}
variable "control_plane_mount_volume_claim" {
type = ToBeDefined
variable "metric_exporter" {
type = object({
// ...
conf = optional(list(object({
env = optional(map(string), {})
env_configmap = optional(set(string), [])
env_from_configmap = optional(map(object({
configmap = string
field = string
})), {})
})), [])
})
}
```

Expand Down

0 comments on commit ace14ec

Please sign in to comment.