This is an automated email from the ASF dual-hosted git repository. jbonofre pushed a commit to branch release/1.0.x in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/release/1.0.x by this push: new 328ed03f1 fix: Remove db-kind in helm chart (#1987) 328ed03f1 is described below commit 328ed03f1ae402a3172579d09e7f8c52ad4f6fa4 Author: Jiwon Park <22048252+jpar...@users.noreply.github.com> AuthorDate: Thu Jul 3 02:53:07 2025 +0900 fix: Remove db-kind in helm chart (#1987) (cherry picked from commit bdcc26fe80c4cc94540b4ff1e0a1d4b8024232f3) --- helm/polaris/ci/persistence-values.yaml | 1 - helm/polaris/templates/configmap.yaml | 5 ----- helm/polaris/tests/deployment_test.yaml | 2 +- helm/polaris/values.yaml | 2 -- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/helm/polaris/ci/persistence-values.yaml b/helm/polaris/ci/persistence-values.yaml index 5f684d350..9807217ba 100644 --- a/helm/polaris/ci/persistence-values.yaml +++ b/helm/polaris/ci/persistence-values.yaml @@ -35,6 +35,5 @@ logging: persistence: type: relational-jdbc relationalJdbc: - dbKind: postgres secret: name: polaris-persistence diff --git a/helm/polaris/templates/configmap.yaml b/helm/polaris/templates/configmap.yaml index 82443fdfe..6d12fbd7e 100644 --- a/helm/polaris/templates/configmap.yaml +++ b/helm/polaris/templates/configmap.yaml @@ -53,11 +53,6 @@ data: {{- $_ = set $map "polaris.persistence.eclipselink.persistence-unit" .Values.persistence.eclipseLink.persistenceUnit -}} {{- $_ = set $map "polaris.persistence.eclipselink.configuration-file" (printf "%s/persistence.xml" .Values.image.configDir ) -}} {{- end -}} - {{- if eq .Values.persistence.type "relational-jdbc" -}} - {{- if .Values.persistence.relationalJdbc.dbKind -}} - {{- $_ = set $map "quarkus.datasource.db-kind" .Values.persistence.relationalJdbc.dbKind -}} - {{- end -}} - {{- end -}} {{- /* File IO */ -}} {{- $_ = set $map "polaris.file-io.type" .Values.fileIo.type -}} diff --git a/helm/polaris/tests/deployment_test.yaml b/helm/polaris/tests/deployment_test.yaml index 00c5eb52c..1b8c942bb 100644 --- a/helm/polaris/tests/deployment_test.yaml +++ b/helm/polaris/tests/deployment_test.yaml @@ -1022,7 +1022,7 @@ tests: - it: should set relational-jdbc persistence environment variables set: - persistence: { type: "relational-jdbc", dbKind: postgres, relationalJdbc: { secret: { name: "polaris-persistence" } } } + persistence: { type: "relational-jdbc", relationalJdbc: { secret: { name: "polaris-persistence" } } } asserts: - contains: path: spec.template.spec.containers[0].env diff --git a/helm/polaris/values.yaml b/helm/polaris/values.yaml index 0a8784472..db50219ed 100644 --- a/helm/polaris/values.yaml +++ b/helm/polaris/values.yaml @@ -526,8 +526,6 @@ persistence: type: in-memory # relational-jdbc # -- The configuration for the relational-jdbc persistence manager. relationalJdbc: - # -- The type of database to use. Valid values are: h2, postgres. - dbKind: postgres # h2 # -- The secret name to pull the database connection properties from. secret: # -- The secret name to pull the database connection properties from.