Skip to content

Not able to set env var for target group long name via helm deploy #408

@rmullinnix461332

Description

@rmullinnix461332

The helm chart only supports environment var names for aws region, aws account id and cluster vpc id. Need the ability to also set TARGET_GROUP_NAME_LEN_MODE as part of helm deploy. We run multiple VPCs under the same account id. We have a separate qa environment on a separate vpc where we want to stage lattice services. The default setup for target group names results in the same target group name for both vpcs. The target group name in qa is overwriting the production target group. The TARGET_GROUP_NAME_LEN_MODE resolves this issue, but not able to set this value on helm deploy.

helm/values.yaml:
77 targetGroupNameLen: short

helm/templates/deployment.yaml
85. - name: TARGET_GROUP_NAME_LEN_MODE
86. value: {{ .Values.targetGroupNameLen }}

or add to the existing config map

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions