Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add AWS_PINPOINT_DEFAULT_POOL_ID variable to k8s and set in staging #2627

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ spec:
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
- name: AWS_PINPOINT_DEFAULT_POOL_ID
value: '$(AWS_PINPOINT_DEFAULT_POOL_ID)'
lifecycle:
preStop:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ spec:
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
- name: AWS_PINPOINT_DEFAULT_POOL_ID
value: '$(AWS_PINPOINT_DEFAULT_POOL_ID)'
lifecycle:
preStop:
exec:
Expand Down
2 changes: 2 additions & 0 deletions base/notify-celery-sms-send/celery-sms-send-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ spec:
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
- name: AWS_PINPOINT_DEFAULT_POOL_ID
value: '$(AWS_PINPOINT_DEFAULT_POOL_ID)'
lifecycle:
preStop:
exec:
Expand Down
1 change: 1 addition & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ DOCUMENT_DOWNLOAD_API_KEY=
AWS_PINPOINT_REGION=
AWS_PINPOINT_SC_POOL_ID=
AWS_PINPOINT_SC_TEMPLATE_IDS=
AWS_PINPOINT_DEFAULT_POOL_ID=
AWS_REGION=
AWS_ROUTE53_ZONE=
AWS_SES_REGION=
Expand Down
8 changes: 7 additions & 1 deletion env/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -661,4 +661,10 @@ vars:
apiVersion: v1
kind: ConfigMap
name: application-config

- fieldref:
fieldPath: data.AWS_PINPOINT_DEFAULT_POOL_ID
name: AWS_PINPOINT_DEFAULT_POOL_ID
objref:
apiVersion: v1
kind: ConfigMap
name: application-config
Binary file modified env/production/.env.zip.enc.aws
Binary file not shown.
7 changes: 7 additions & 0 deletions env/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -650,3 +650,10 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.AWS_PINPOINT_SC_TEMPLATE_IDS
- name: AWS_PINPOINT_DEFAULT_POOL_ID
objref:
kind: ConfigMap
name: application-config
apiVersion: v1
fieldref:
fieldpath: data.AWS_PINPOINT_DEFAULT_POOL_ID
7 changes: 7 additions & 0 deletions env/sandbox/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -666,4 +666,11 @@ vars:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_DEFAULT_POOL_ID
name: AWS_PINPOINT_DEFAULT_POOL_ID
objref:
apiVersion: v1
kind: ConfigMap
name: application-config

Binary file modified env/staging/.env.zip.enc.aws
Binary file not shown.
7 changes: 7 additions & 0 deletions env/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -668,3 +668,10 @@ vars:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_DEFAULT_POOL_ID
name: AWS_PINPOINT_DEFAULT_POOL_ID
objref:
apiVersion: v1
kind: ConfigMap
name: application-config
Loading