Commit 45ecb62b authored by FabiusE's avatar FabiusE

Test something about annotations

parent 14ad5884
......@@ -6,7 +6,8 @@ terraform {
locals {
values_yaml_rendered = templatefile("./${path.module}/values.yaml.tpl", {
controller_service = var.controller_service
controller_service = var.controller_service,
annotations = var.annotations
})
}
......
......@@ -4,5 +4,5 @@ controller:
loadBalancerIP: ${controller_service.loadBalancerIP}
annotations:
%{ for annotation in annotations }
"${annotation.annotation_key}": "${annotation.annotation_value}"
"${annotation["annotation_key"]}" : "${annotation["annotation_value"]}"
%{ endfor }
\ No newline at end of file
......@@ -4,6 +4,11 @@ variable "controller_service" {
default = {
"enabled" : "true",
"loadBalancerIP": "",
"annotations" : ""
}
}
variable "annotations" {
description = "Annotations for the Controller Settings"
type = map
default = {}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment