From 47157a4086bf0fa543e99341bb376107a6e49a1c Mon Sep 17 00:00:00 2001 From: Adnan Kamili Date: Thu, 15 Feb 2024 12:50:11 +0530 Subject: [PATCH] feat: added paddle billing support --- cryptlex/cryptlex-enterprise/Chart.yaml | 4 ++-- .../templates/config-maps/web-api-configmap.yaml | 3 +++ .../cryptlex-enterprise/templates/secrets/web-api-secret.yaml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cryptlex/cryptlex-enterprise/Chart.yaml b/cryptlex/cryptlex-enterprise/Chart.yaml index 232da13..67124b9 100644 --- a/cryptlex/cryptlex-enterprise/Chart.yaml +++ b/cryptlex/cryptlex-enterprise/Chart.yaml @@ -6,7 +6,7 @@ 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.30" +version: "3.16.31" # 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.30" +appVersion: "3.16.31" diff --git a/cryptlex/cryptlex-enterprise/templates/config-maps/web-api-configmap.yaml b/cryptlex/cryptlex-enterprise/templates/config-maps/web-api-configmap.yaml index 0aa7209..f84bd0a 100644 --- a/cryptlex/cryptlex-enterprise/templates/config-maps/web-api-configmap.yaml +++ b/cryptlex/cryptlex-enterprise/templates/config-maps/web-api-configmap.yaml @@ -46,6 +46,9 @@ data: {{ if .Values.webApi.paddle.apiUrl }} PADDLE_APIURL: {{ .Values.webApi.paddle.apiUrl | quote }} {{ end }} + {{ if .Values.webApi.paddle.apiUrlLegacy }} + PADDLE_APIURLLEGACY: {{ .Values.webApi.paddle.apiUrlLegacy | quote }} + {{ end }} {{ end }} # Mail settings EMAIL_FROMADDRESS: {{ .Values.webApi.email.fromAddress }} diff --git a/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml b/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml index e119fb6..1e6c91a 100644 --- a/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml +++ b/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml @@ -57,5 +57,8 @@ stringData: {{ if .Values.webApi.paddle.vendorAuthCode }} PADDLE_VENDORAUTHCODE: {{ .Values.webApi.paddle.vendorAuthCode | quote }} {{ end }} + {{ if .Values.webApi.paddle.apiKey }} + PADDLE_APIKEY: {{ .Values.webApi.paddle.apiKey | quote }} + {{ end }} {{ end }} NEW_RELIC_LICENSE_KEY: {{ .Values.webApi.newRelic.licenseKey | quote }}