Skip to content

Commit

Permalink
change annotations and labels syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Dec 6, 2022
1 parent 0284cfb commit 776df09
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plural/helm/console/values.yaml.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand All @@ -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
Expand All @@ -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")
Expand Down

0 comments on commit 776df09

Please sign in to comment.