-
Notifications
You must be signed in to change notification settings - Fork 24
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
care partner alerts APNs configuration #296
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,16 @@ | ||||||
{{ if .Values.configmap.enabled -}} | ||||||
--- | ||||||
apiVersion: v1 | ||||||
kind: ConfigMap | ||||||
metadata: | ||||||
name: data # as in the data service | ||||||
namespace: {{ .Release.Namespace }} | ||||||
labels: | ||||||
{{ include "charts.labels.standard" . }} | ||||||
{{ with .Values.configmap.data_ }} | ||||||
data: | ||||||
pusherAPNSKeyID: {{ .pusherAPNSKeyID | default "" }} | ||||||
pusherAPNSTeamID: {{ .pusherAPNSTeamID | default "" }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
pusherAPNSBundleID: {{ .pusherAPNSBundleID | default "" }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
{{- end }} | ||||||
{{- end }} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,6 +3,13 @@ | |||||
apiVersion: v1 | ||||||
data: | ||||||
ServiceAuth: {{ .Values.secret.data_.ServiceAuth | default (randAlphaNum 40) | b64enc | quote }} | ||||||
# pusherAPNSSigningKey is the signing key for Apple Push Notification | ||||||
# Service. It's a file you can find in 1Password. | ||||||
# | ||||||
# If you're running locally via the development cluster, you'll need to | ||||||
# base64-encode the contents of that file, and add the resulting data to the | ||||||
# secret. You'll also need to enable the secret in local/Tiltconfig.yaml. | ||||||
pusherAPNSSigningKey: {{ .Values.secret.data_.pusherAPNSSigningKey | default "" | quote }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
kind: Secret | ||||||
metadata: | ||||||
name: data | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -57,6 +57,26 @@ spec: | |||||
value: data | ||||||
- name: TIDEPOOL_SYNC_TASK_STORE_DATABASE | ||||||
value: data | ||||||
- name: TIDEPOOL_DATA_SERVICE_PUSHER_APNS_SIGNING_KEY | ||||||
valueFrom: | ||||||
secretKeyRef: | ||||||
name: data | ||||||
key: pusherAPNSSigningKey | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- name: TIDEPOOL_DATA_SERVICE_PUSHER_APNS_KEY_ID | ||||||
valueFrom: | ||||||
configMapKeyRef: | ||||||
name: data | ||||||
key: pusherAPNSKeyID | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- name: TIDEPOOL_DATA_SERVICE_PUSHER_APNS_TEAM_ID | ||||||
valueFrom: | ||||||
configMapKeyRef: | ||||||
name: data | ||||||
key: pusherAPNSTeamID | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- name: TIDEPOOL_DATA_SERVICE_PUSHER_APNS_BUNDLE_ID | ||||||
valueFrom: | ||||||
configMapKeyRef: | ||||||
name: data | ||||||
key: pusherAPNSBundleID | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
image: "{{ .Values.deployment.image }}" | ||||||
securityContext: | ||||||
{{- .Values.podSecurityContext | toYaml | nindent 10 }} | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,10 +3,19 @@ secret: | |||||
data_: | ||||||
# -- service authorization secret | ||||||
ServiceAuth: "" | ||||||
Pusher: | ||||||
APNS: | ||||||
SigningKey: "" | ||||||
deployment: | ||||||
# -- Docker image | ||||||
image: tidepool/platform-data:master-latest | ||||||
replicas: 1 | ||||||
configmap: | ||||||
enabled: true | ||||||
data_: | ||||||
pusherAPNSKeyID: "QA3495JW4S" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
pusherAPNSTeamID: "75U4X84TEG" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
pusherAPNSBundleID: "org.tidepool.carepartner" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
# -- memory and cpu resources for pods | ||||||
resources: {} | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.