Skip to content

Commit

Permalink
Revert "Revert "feat: add AWS_PINPOINT_DEFAULT_POOL_ID variable to k8…
Browse files Browse the repository at this point in the history
…s and set in staging"" (#2636)
  • Loading branch information
sastels authored Jun 5, 2024
1 parent 4789a1d commit e7de4b8
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 1 deletion.
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 @@ -666,4 +666,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

0 comments on commit e7de4b8

Please sign in to comment.