From 776df094a59fc58d5809cae11b2739f7385acff5 Mon Sep 17 00:00:00 2001 From: Lukasz Zajaczkowski Date: Tue, 6 Dec 2022 11:09:44 +0100 Subject: [PATCH] change annotations and labels syntax --- plural/helm/console/values.yaml.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plural/helm/console/values.yaml.lua b/plural/helm/console/values.yaml.lua index 97fca0f37f..ecc838fb0b 100755 --- a/plural/helm/console/values.yaml.lua +++ b/plural/helm/console/values.yaml.lua @@ -16,7 +16,9 @@ output = { }, serviceAccount= { create=true, - annotations="eks.amazonaws.com/role-arn: arn:aws:iam::" .. Var.Project .. ":role/" ..Var.Cluster .. "-console" + annotations={ + ['eks.amazonaws.com/role-arn']="arn:aws:iam::" .. Var.Project .. ":role/" ..Var.Cluster .. "-console" + }, }, secrets={ jwt=dedupe(Var, "console.secrets.jwt", randAlphaNum(20)), @@ -41,7 +43,7 @@ output = { if Var.Provider == "kind" then output.ingress.annotations = { - "external-dns.alpha.kubernetes.io/target: '127.0.0.1'" + ['external-dns.alpha.kubernetes.io/target']='127.0.0.1' } output.replicaCount=1 end @@ -52,7 +54,7 @@ end if Var.Provider == "azure" then output.podLabels={ - "aadpodidbinding: console" + ["aadpodidbinding"]="console" } output.consoleIdentityId=importValue("Terraform", "console_msi_id") output.consoleIdentityClientId=importValue("Terraform", "console_msi_client_id")