Skip to content

Commit 4c9f8a1

Browse files
authored
Merge pull request #3906 from pinkavaj/pi-args
Add helm chart configuration for --aws-vpc-tags argument
2 parents 0fe7e43 + 411778c commit 4c9f8a1

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ 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` | This is alternative to vpcId. Set this when your pods are unable to use the metadata service to determine VPC automatically. | None
215216
| `awsApiEndpoints` | Custom AWS API Endpoints | None |
216217
| `awsApiThrottle` | Custom AWS API throttle settings | None |
217218
| `awsMaxRetries` | Maximum retries for AWS APIs | None |

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

+3
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ spec:
173173
{{- if .Values.loadBalancerClass }}
174174
- --load-balancer-class={{ .Values.loadBalancerClass }}
175175
{{- end }}
176+
{{- if .Values.vpcTags }}
177+
- --aws-vpc-tags={{ include "aws-load-balancer-controller.convertMapToCsv" .Values.vpcTags | trimSuffix "," }}
178+
{{- end }}
176179
{{- if or .Values.env .Values.envSecretName }}
177180
env:
178181
{{- if .Values.env}}

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

+4
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ 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+
# This is alternative to vpcId. Set this when your pods are unable to use the metadata service to determine VPC automatically.
165+
vpcTags: {}
166+
# Name: tagValue
167+
164168
# Custom AWS API Endpoints (serviceID1=URL1,serviceID2=URL2)
165169
awsApiEndpoints:
166170

0 commit comments

Comments
 (0)