From a5bf45cefbc02c6538f74d1f6fa51fd999d2cce2 Mon Sep 17 00:00:00 2001 From: ab-sub <42832209+ab-sub@users.noreply.github.com> Date: Tue, 9 Jul 2024 18:26:22 +0530 Subject: [PATCH] [charts/gateway] OTK 4.6.3 release (#322) OTK 4.6.3 release --- charts/gateway/Chart.yaml | 2 +- charts/gateway/README.md | 10 ++++++++++ charts/gateway/production-values.yaml | 3 +-- charts/gateway/templates/otk-install-configmap.yaml | 2 +- charts/gateway/values.yaml | 3 +-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/charts/gateway/Chart.yaml b/charts/gateway/Chart.yaml index f0fe7ed7..05d2acc2 100644 --- a/charts/gateway/Chart.yaml +++ b/charts/gateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "11.1.00" description: This Helm Chart deploys the Layer7 Gateway in Kubernetes. name: gateway -version: 3.0.28 +version: 3.0.29 type: application home: https://github.com/CAAPIM/apim-charts maintainers: diff --git a/charts/gateway/README.md b/charts/gateway/README.md index 32dbda24..cf912afd 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -95,6 +95,14 @@ The Layer7 API Gateway is now running with Java 11 with the release of the v10.1 Things to note and be aware of are the deprecation of TLSv1.0/TLSv1.1 and the JAVA_HOME dir has gone through some changes as well. +## 3.0.29 OTK 4.6.3 Released +- The default image tag in values.yaml and production-values.yaml for OTK updated to **4.6.3**. + - otk.job.image.tag: 4.6.3 +- Liquibase version has been upgraded to 4.12.0 to enable offline Liquibase schema support for OTK Helm charts. +- UTFMB4 Character Set Support for MySQL. +- Fixed backward compatibility issue related to bootstrap director location for pre 4.6.2 OTK versions + - For versions older than OTK 4.6.2, in values.yaml manually add a new parameter otk.bootstrapDir with value "." indicating current directory + ## 3.0.28 General Updates - Added a [Startup probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) for the Gateway Container. - Disabled by default @@ -613,6 +621,7 @@ Limitations: * OTK Instance modifiers are not supported. * Install/Upgrade of OTK schema on cassandra database using kubernetes job is not supported. * Dual gateway OTK set-up (otk.type: DMZ or INTERNAL) is not supported with ephemeral gateway. +* OTK upgrade to 4.6.3 will not upgrade the DB with utf8mb4 character set. This has to be done seperately following the steps provided in upgrade section in [Techdocs](https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-6/installation-workflow/create-or-upgrade-the-otk-database/mysql-database.html) OTK Deployment examples can be found [here](/examples/otk) @@ -652,6 +661,7 @@ OTK Deployment examples can be found [here](/examples/otk) | `otk.job.resources` | OTK Job resources | {} | `otk.job.scheduledTasksSuccessfulJobsHistoryLimit`| OTK db maintenance scheduled job success history limit | `1` | | `otk.job.scheduledTasksFailedJobsHistoryLimit`| OTK db maintenance scheduled job failed history limit | `1` | +| `otk.bootstrapDir`| The location of OTK artifacts in the image | `/opt/SecureSpan/Gateway/node/default/etc/bootstrap/bundle/000OTK` | | `otk.database.type` | OTK database type - mysql/oracle/cassandra | `mysql` | `otk.database.waitTimeout` | OTK database connection wait timeout in seconds | `60`| | `otk.database.dbUpgrade` | Enable/Disable OTK DB Upgrade| `true` | diff --git a/charts/gateway/production-values.yaml b/charts/gateway/production-values.yaml index 1c8cf2aa..0bd40969 100644 --- a/charts/gateway/production-values.yaml +++ b/charts/gateway/production-values.yaml @@ -663,11 +663,10 @@ otk: job: image: repository: caapim/otk-install - tag: 4.6.2_202402 + tag: 4.6.3 pullPolicy: IfNotPresent imagePullSecret: enabled: false - # Valid only for ephemeral gateway. Creates cronJobs for each OTK DB maintenance schedule tasks. scheduledTasks: - name: client diff --git a/charts/gateway/templates/otk-install-configmap.yaml b/charts/gateway/templates/otk-install-configmap.yaml index a9006e95..b8833b58 100644 --- a/charts/gateway/templates/otk-install-configmap.yaml +++ b/charts/gateway/templates/otk-install-configmap.yaml @@ -24,7 +24,7 @@ data: {{- else }} OTK_INSTALL_MODE: "initContainer" {{- end }} - BOOTSTRAP_DIR: "/opt/SecureSpan/Gateway/node/default/etc/bootstrap/bundle/000OTK" + BOOTSTRAP_DIR: {{default "/opt/SecureSpan/Gateway/node/default/etc/bootstrap/bundle/000OTK" .Values.otk.bootstrapDir | quote }} OTK_SK_UPGRADE: "true" OTK_DATABASE_UPGRADE: "false" OTK_SKIP_INTERNAL_SERVER_TOOLS: {{default false .Values.otk.skipInternalServerTools | quote }} diff --git a/charts/gateway/values.yaml b/charts/gateway/values.yaml index 3646aee9..895331f9 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -663,11 +663,10 @@ otk: job: image: repository: caapim/otk-install - tag: 4.6.2_202402 + tag: 4.6.3 pullPolicy: IfNotPresent imagePullSecret: enabled: false - # Valid only for ephemeral gateway. Creates cronJobs for each OTK DB maintenance schedule tasks. scheduledTasks: - name: client