Skip to content

Commit a5d6be1

Browse files
authored
Add AWS_ENDPOINT_URL to Helm chart templates (#133)
Issue #, if available: aws-controllers-k8s/community#871 Description of changes: Updates `codegenerator/templates/helm/templates/deployment.yaml.tpl` and `codegenerator/templates/helm/values.yaml.tpl `to support `AWS_ENDPOINT_URL` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 79d0279 commit a5d6be1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

templates/helm/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ spec:
4141
- "$(AWS_ACCOUNT_ID)"
4242
- --aws-region
4343
- "$(AWS_REGION)"
44+
- --aws-endpoint-url
45+
- "$(AWS_ENDPOINT_URL)"
4446
- --enable-development-logging
4547
- "$(ACK_ENABLE_DEVELOPMENT_LOGGING)"
4648
- --log-level
@@ -64,6 +66,8 @@ spec:
6466
value: {{ .Values.aws.account_id | quote }}
6567
- name: AWS_REGION
6668
value: {{ .Values.aws.region }}
69+
- name: AWS_ENDPOINT_URL
70+
value: {{ .Values.aws.endpoint_url | quote}}
6771
- name: ACK_WATCH_NAMESPACE
6872
value: {{ .Values.watchNamespace }}
6973
- name: ACK_ENABLE_DEVELOPMENT_LOGGING

templates/helm/values.yaml.tpl

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ aws:
3737
# If specified, use the AWS region for AWS API calls
3838
region: ""
3939
account_id: ""
40+
endpoint_url: ""
4041

4142
# log level for the controller
4243
log:

0 commit comments

Comments
 (0)