Skip to content

Commit

Permalink
Merge pull request #4 from cryptlex/mumin/add-Ga-kay
Browse files Browse the repository at this point in the history
chore: add ga to web-api
  • Loading branch information
adnan-kamili authored Aug 8, 2024
2 parents f4310e7 + 67b9ea7 commit 78fba2a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
5 changes: 3 additions & 2 deletions cryptlex/cryptlex-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ home: https://cryptlex.com
icon: https://cryptlex.com/images/cryptlex_icon.png
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: "3.16.108"
version: "3.16.109"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: "3.16.108"
appVersion: "3.16.109"

Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ data:
WEB_API_BASE_URL: http://{{ .Values.ingress.hosts.webApiHost }}
RELEASE_SERVER_BASE_URL: http://{{ .Values.ingress.hosts.releaseServerHost }}
{{ end }}
GOOGLE_CLIENT_ID: {{ .Values.sso.google.clientId | quote }}
GOOGLE_CLIENT_ID: {{ .Values.webApi.google.sso.clientId | quote }}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ data:
RABBITMQ_ENABLED: {{ .Values.services.rabbitMq.enabled | quote }}
RABBITMQ_PREFETCHCOUNT: {{ .Values.services.rabbitMq.prefetchCount | quote }}
RABBITMQ_DELAYEDMESSAGEPLUGINENABLED: {{ .Values.services.rabbitMq.delayedMessagePluginEnabled | quote }}
GOOGLE_CLIENT_ID: {{ .Values.sso.google.clientId | quote }}
GOOGLE_CLIENT_ID: {{ .Values.webApi.google.sso.clientId | quote }}
GOOGLE_ANALYTICS_KEY: {{.Values.webApi.google.analytics.key | quote}}

{{ range $index, $value := .Values.webApi.ipRateLimitOptions.ipWhitelist }}
IPRATELIMITOPTIONS_IPWHITELIST_{{$index}}: {{ $value | quote }}
{{ end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ data:
WEB_API_BASE_URL: http://{{ .Values.ingress.hosts.webApiHost }}
RELEASE_SERVER_BASE_URL: http://{{ .Values.ingress.hosts.releaseServerHost }}
{{ end }}
GOOGLE_CLIENT_ID: {{ .Values.sso.google.clientId | quote }}
GOOGLE_CLIENT_ID: {{ .Values.webApi.google.sso.clientId | quote }}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ stringData:
MAILGUN_APIKEY: {{ .Values.webApi.email.mailgun.apiKey | quote }}
POSTMARK_ACCOUNTTOKEN: {{ .Values.webApi.postmark.accountToken | quote }}
SENDGRID_APIKEY: {{ .Values.webApi.email.sendgrid.apiKey | quote }}
GOOGLE_RECAPTCHA_SECRETKEY: {{ .Values.webApi.googleRecaptcha.secretKey | quote }}
GOOGLE_RECAPTCHA_SECRETKEY: {{ .Values.webApi.google.recaptcha.secretKey | quote }}
BUGSNAG_APIKEY: {{ .Values.webApi.bugsnag.apiKey | quote }}
{{ if .Values.webApi.fly }}
{{ if .Values.webApi.fly.apiKey }}
Expand Down
16 changes: 9 additions & 7 deletions cryptlex/cryptlex-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@ webApi:
# Sendgrid config, in case you are using Sendgrid for sending emails.
sendgrid:
apiKey: ""
# Google reCAPTCHA
googleRecaptcha:
secretKey: ""
# Error monitoring
bugsnag:
apiKey: ""
Expand All @@ -250,8 +247,13 @@ webApi:
# Postmark
postmark:
accountToken: ""
# SSO config
sso:
# Google
google:
# Refer to following for enabling Google SSO: https://docs.cryptlex.com/user-management/google-sso
clientId: ""
recaptcha:
secretKey: ""
analytics:
# G-XXXXXXX
key: ""
sso:
# Refer to following for enabling Google SSO: https://docs.cryptlex.com/user-management/google-sso
clientId: ""

0 comments on commit 78fba2a

Please sign in to comment.