From b4c6745ec89c048eba6eac0b85b6630fff7cd7fd Mon Sep 17 00:00:00 2001 From: Chris Wiechmann Date: Thu, 19 May 2022 14:14:07 +0200 Subject: [PATCH] global.license was not working, as license must have .lic extension --- APIM/Helmchart/CHANGELOG.md | 4 ++++ APIM/Helmchart/templates/common/license-secret.yaml | 2 +- APIM/Helmchart/values.yaml | 5 +++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/APIM/Helmchart/CHANGELOG.md b/APIM/Helmchart/CHANGELOG.md index 0409aae..7ec717f 100644 --- a/APIM/Helmchart/CHANGELOG.md +++ b/APIM/Helmchart/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [2.10.1] 2022-05-19 +### Fixed +- global.license was mounted to conf/licenses/license which is not acceppted by the API-Gateways. Now it's using helm-global-license.lic + ## [2.10.0] 2022-05-09 ### Changed - Helm-Chart now released using a version tag without v (e.g. 2.10.0 ) diff --git a/APIM/Helmchart/templates/common/license-secret.yaml b/APIM/Helmchart/templates/common/license-secret.yaml index e963231..4b1ae4a 100644 --- a/APIM/Helmchart/templates/common/license-secret.yaml +++ b/APIM/Helmchart/templates/common/license-secret.yaml @@ -4,5 +4,5 @@ kind: Secret metadata: name: axway-apim-license data: - license: {{ .Values.global.license | b64enc }} + helm-global-license.lic: {{ .Values.global.license | b64enc }} {{- end }} \ No newline at end of file diff --git a/APIM/Helmchart/values.yaml b/APIM/Helmchart/values.yaml index 668ee88..1ff0729 100644 --- a/APIM/Helmchart/values.yaml +++ b/APIM/Helmchart/values.yaml @@ -23,9 +23,10 @@ global: # AZURE, OPENSHIFT, MINIKUBE platform: "" - # If you provide your license in your myValues.yaml, a Secret axway-apim-license will be created and automatically mountered + # If you provide your license in your myValues.yaml, a Secret axway-apim-license will be created and automatically mounted # into the API Gateway PODs. - # Alternatively, you can use your own secret and reference it via licenseSecretName below. + # Alternatively, you can use your own secret and reference it via existingLicenseSecret below. Make sure, your secret key ends with + # license.lic # Or you can build the image with the license included. # license: | # FIPS=1