Skip to content

Commit

Permalink
Add helm chart values for --aws-vpc-tags and --aws-vpc-tag-key arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkavaj committed Oct 22, 2024
1 parent 1ea514f commit c5cfd11
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/aws-load-balancer-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ The default values set by the application itself can be confirmed [here](https:/
| `ingressClassParams.spec` | IngressClassParams defined ingress specifications | {} |
| `region` | The AWS region for the kubernetes cluster | None |
| `vpcId` | The VPC ID for the Kubernetes cluster | None |
| `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 |
| `vpcTagKey` | Set the name of the tag used for VPC identification, set if it differts from "Name" | None |
| `awsApiEndpoints` | Custom AWS API Endpoints | None |
| `awsApiThrottle` | Custom AWS API throttle settings | None |
| `awsMaxRetries` | Maximum retries for AWS APIs | None |
Expand Down
6 changes: 6 additions & 0 deletions helm/aws-load-balancer-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ spec:
{{- if .Values.loadBalancerClass }}
- --load-balancer-class={{ .Values.loadBalancerClass }}
{{- end }}
{{- if .Values.vpcTags }}
- --aws-vpc-tags={{ .Values.vpcTags }}
{{- end }}
{{- if .Values.vpcTagKey }}
- --aws-vpc-tag-key={{ .Values.vpcTagKey }}
{{- end }}
{{- if or .Values.env .Values.envSecretName }}
env:
{{- if .Values.env}}
Expand Down
6 changes: 6 additions & 0 deletions helm/aws-load-balancer-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ region:
# The VPC ID for the Kubernetes cluster. Set this manually when your pods are unable to use the metadata service to determine this automatically
vpcId:

# 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
vpcTags:

# Set the name of the tag used for VPC identification, set if it differts from "Name"
vpcTagKey:

# Custom AWS API Endpoints (serviceID1=URL1,serviceID2=URL2)
awsApiEndpoints:

Expand Down

0 comments on commit c5cfd11

Please sign in to comment.