Skip to content

Commit

Permalink
platform-client: add sentry settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed May 7, 2023
1 parent eb59c13 commit f028491
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/platform-client/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: ushahidi-platform-client
version: 0.0.1-alpha.10
version: 0.0.1-alpha.11
icon: https://github.ushahidi.org/helm-charts/icon.png
12 changes: 12 additions & 0 deletions charts/platform-client/templates/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ spec:
- name: MULTISITE_API_DOMAIN
value: {{ .Values.config.multisite.api_domain | quote }}
{{- end }}
{{- if (.Values.config.sentry).dsn }}
- name: SENTRY_DSN
value: {{ .Values.config.sentry.dsn | quote }}
{{- end }}
{{- if (.Values.config.sentry).environment }}
- name: SENTRY_ENVIRONMENT
value: {{ .Values.config.sentry.environment | quote }}
{{- end }}
{{- if (.Values.config.sentry).debug_mode }}
- name: SENTRY_DEBUG_MODE
value: {{ .Values.config.sentry.debug_mode | quote }}
{{- end }}
image: {{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
imagePullPolicy: Always
name: api
Expand Down
4 changes: 4 additions & 0 deletions charts/platform-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ config: {}
# multisite: # (platform-client-mzima images only)
# domain:
# api_domain:
# sentry:
# dsn:
# environment:
# # debug_mode:

replicas: 1
limits:
Expand Down

0 comments on commit f028491

Please sign in to comment.