Skip to content

Commit

Permalink
Add pinpoint pool variables to k8s (#2558)
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels authored May 7, 2024
1 parent 484c27b commit 53fb4f6
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ spec:
value: '$(FF_BOUNCE_RATE_V1)'
- name: FF_BOUNCE_RATE_BACKEND
value: '$(FF_BOUNCE_RATE_BACKEND)'
- name: AWS_PINPOINT_SC_POOL_ID
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
lifecycle:
preStop:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ spec:
value: '$(FF_BOUNCE_RATE_V1)'
- name: FF_BOUNCE_RATE_BACKEND
value: '$(FF_BOUNCE_RATE_BACKEND)'
- name: AWS_PINPOINT_SC_POOL_ID
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
lifecycle:
preStop:
exec:
Expand Down
4 changes: 4 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 @@ -126,6 +126,10 @@ spec:
value: '$(FF_BOUNCE_RATE_V1)'
- name: FF_BOUNCE_RATE_BACKEND
value: '$(FF_BOUNCE_RATE_BACKEND)'
- name: AWS_PINPOINT_SC_POOL_ID
value: '$(AWS_PINPOINT_SC_POOL_ID)'
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
value: '$(AWS_PINPOINT_SC_TEMPLATE_IDS)'
lifecycle:
preStop:
exec:
Expand Down
2 changes: 2 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ FF_BOUNCE_RATE_BACKEND=
FF_ABTEST_SERVICE_ID=
FF_NEW_BRANDING=
SRE_CLIENT_SECRET=
AWS_PINPOINT_SC_POOL_ID=
AWS_PINPOINT_SC_TEMPLATE_IDS=
Binary file modified env/dev/.env.zip.enc.aws
Binary file not shown.
14 changes: 14 additions & 0 deletions env/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,4 +647,18 @@ vars:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_SC_POOL_ID
name: AWS_PINPOINT_SC_POOL_ID
objref:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_SC_TEMPLATE_IDS
name: AWS_PINPOINT_SC_TEMPLATE_IDS
objref:
apiVersion: v1
kind: ConfigMap
name: application-config

Binary file modified env/production/.env.zip.enc.aws
Binary file not shown.
14 changes: 14 additions & 0 deletions env/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -642,3 +642,17 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.SRE_CLIENT_SECRET
- name: AWS_PINPOINT_SC_POOL_ID
objref:
kind: ConfigMap
name: application-config
apiVersion: v1
fieldref:
fieldpath: data.AWS_PINPOINT_SC_POOL_ID
- name: AWS_PINPOINT_SC_TEMPLATE_IDS
objref:
kind: ConfigMap
name: application-config
apiVersion: v1
fieldref:
fieldpath: data.AWS_PINPOINT_SC_TEMPLATE_IDS
Binary file modified env/staging/.env.zip.enc.aws
Binary file not shown.
14 changes: 14 additions & 0 deletions env/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -659,3 +659,17 @@ vars:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_SC_POOL_ID
name: AWS_PINPOINT_SC_POOL_ID
objref:
apiVersion: v1
kind: ConfigMap
name: application-config
- fieldref:
fieldPath: data.AWS_PINPOINT_SC_TEMPLATE_IDS
name: AWS_PINPOINT_SC_TEMPLATE_IDS
objref:
apiVersion: v1
kind: ConfigMap
name: application-config

0 comments on commit 53fb4f6

Please sign in to comment.