Skip to content

Commit c5cfd11

Browse files
committed
Add helm chart values for --aws-vpc-tags and --aws-vpc-tag-key arguments
1 parent 1ea514f commit c5cfd11

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

helm/aws-load-balancer-controller/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ The default values set by the application itself can be confirmed [here](https:/
212212
| `ingressClassParams.spec` | IngressClassParams defined ingress specifications | {} |
213213
| `region` | The AWS region for the kubernetes cluster | None |
214214
| `vpcId` | The VPC ID for the Kubernetes cluster | None |
215+
| `vpcTags` | Tag of VPC for kubernetes cluster. This is alternative to vpcId, set this manually when your pods are unable to use the metadata service to determine this automatically | None |
216+
| `vpcTagKey` | Set the name of the tag used for VPC identification, set if it differts from "Name" | None |
215217
| `awsApiEndpoints` | Custom AWS API Endpoints | None |
216218
| `awsApiThrottle` | Custom AWS API throttle settings | None |
217219
| `awsMaxRetries` | Maximum retries for AWS APIs | None |

helm/aws-load-balancer-controller/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ spec:
170170
{{- if .Values.loadBalancerClass }}
171171
- --load-balancer-class={{ .Values.loadBalancerClass }}
172172
{{- end }}
173+
{{- if .Values.vpcTags }}
174+
- --aws-vpc-tags={{ .Values.vpcTags }}
175+
{{- end }}
176+
{{- if .Values.vpcTagKey }}
177+
- --aws-vpc-tag-key={{ .Values.vpcTagKey }}
178+
{{- end }}
173179
{{- if or .Values.env .Values.envSecretName }}
174180
env:
175181
{{- if .Values.env}}

helm/aws-load-balancer-controller/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ region:
161161
# The VPC ID for the Kubernetes cluster. Set this manually when your pods are unable to use the metadata service to determine this automatically
162162
vpcId:
163163

164+
# Tag of VPC for kubernetes cluster. This is alternative to vpcId, set this manually when your pods are unable to use the metadata service to determine this automatically
165+
vpcTags:
166+
167+
# Set the name of the tag used for VPC identification, set if it differts from "Name"
168+
vpcTagKey:
169+
164170
# Custom AWS API Endpoints (serviceID1=URL1,serviceID2=URL2)
165171
awsApiEndpoints:
166172

0 commit comments

Comments
 (0)