From e1099e477f6f8bae0a1fbb32ca791c8bb5c58655 Mon Sep 17 00:00:00 2001 From: Adnan Kamili Date: Fri, 14 Feb 2025 15:47:19 +0530 Subject: [PATCH] feat: add support for providing MAXMIND_LICENSE_KEY --- cryptlex/cryptlex-enterprise/Chart.yaml | 4 ++-- .../templates/deployments/geoip-deployment.yaml | 3 +++ .../cryptlex-enterprise/templates/secrets/web-api-secret.yaml | 3 ++- cryptlex/cryptlex-enterprise/values.yaml | 3 +++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/cryptlex/cryptlex-enterprise/Chart.yaml b/cryptlex/cryptlex-enterprise/Chart.yaml index 44a23724..9612634b 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.17.69" +version: "3.17.70" # 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.17.69" +appVersion: "3.17.70" diff --git a/cryptlex/cryptlex-enterprise/templates/deployments/geoip-deployment.yaml b/cryptlex/cryptlex-enterprise/templates/deployments/geoip-deployment.yaml index bd6cb305..7c61c2d2 100644 --- a/cryptlex/cryptlex-enterprise/templates/deployments/geoip-deployment.yaml +++ b/cryptlex/cryptlex-enterprise/templates/deployments/geoip-deployment.yaml @@ -21,5 +21,8 @@ spec: imagePullPolicy: {{ .Values.services.geoip.image.pullPolicy }} ports: - containerPort: 8080 + env: + - name: MAXMIND_LICENSE_KEY + value: "{{ .Values.webApi.maxmind.licenseKey }}" restartPolicy: Always {{ end }} \ No newline at end of file diff --git a/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml b/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml index e31c91c9..524e594d 100644 --- a/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml +++ b/cryptlex/cryptlex-enterprise/templates/secrets/web-api-secret.yaml @@ -87,4 +87,5 @@ stringData: {{- range $key, $value := $header }} {{ $key }}={{ $value }} {{ end -}} - {{- end }}" \ No newline at end of file + {{- end }}" + MAXMIND_LICENSEKEY: {{ .Values.webApi.maxmind.licenseKey | quote }} \ No newline at end of file diff --git a/cryptlex/cryptlex-enterprise/values.yaml b/cryptlex/cryptlex-enterprise/values.yaml index 566fcad3..75561cfc 100644 --- a/cryptlex/cryptlex-enterprise/values.yaml +++ b/cryptlex/cryptlex-enterprise/values.yaml @@ -235,6 +235,9 @@ webApi: hangfireDashboard: username: "" password: "" + # Maxmind GeoLite2-City database + maxmind: + licenseKey: "" # Postmark postmark: accountToken: ""