diff --git a/charts/gateway/README.md b/charts/gateway/README.md index eb866936..cf912afd 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -100,6 +100,8 @@ Things to note and be aware of are the deprecation of TLSv1.0/TLSv1.1 and the JA - 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. @@ -659,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 28b7acbf..0bd40969 100644 --- a/charts/gateway/production-values.yaml +++ b/charts/gateway/production-values.yaml @@ -667,7 +667,6 @@ otk: 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 6f4089d5..895331f9 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -667,7 +667,6 @@ otk: pullPolicy: IfNotPresent imagePullSecret: enabled: false - # Valid only for ephemeral gateway. Creates cronJobs for each OTK DB maintenance schedule tasks. scheduledTasks: - name: client