Skip to content

Commit bdcc26f

Browse files
authored
fix: Remove db-kind in helm chart (apache#1987)
1 parent eb6b6ad commit bdcc26f

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

helm/polaris/ci/persistence-values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ logging:
3535
persistence:
3636
type: relational-jdbc
3737
relationalJdbc:
38-
dbKind: postgres
3938
secret:
4039
name: polaris-persistence

helm/polaris/templates/configmap.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ data:
5353
{{- $_ = set $map "polaris.persistence.eclipselink.persistence-unit" .Values.persistence.eclipseLink.persistenceUnit -}}
5454
{{- $_ = set $map "polaris.persistence.eclipselink.configuration-file" (printf "%s/persistence.xml" .Values.image.configDir ) -}}
5555
{{- end -}}
56-
{{- if eq .Values.persistence.type "relational-jdbc" -}}
57-
{{- if .Values.persistence.relationalJdbc.dbKind -}}
58-
{{- $_ = set $map "quarkus.datasource.db-kind" .Values.persistence.relationalJdbc.dbKind -}}
59-
{{- end -}}
60-
{{- end -}}
6156
6257
{{- /* File IO */ -}}
6358
{{- $_ = set $map "polaris.file-io.type" .Values.fileIo.type -}}

helm/polaris/tests/deployment_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ tests:
10221022

10231023
- it: should set relational-jdbc persistence environment variables
10241024
set:
1025-
persistence: { type: "relational-jdbc", dbKind: postgres, relationalJdbc: { secret: { name: "polaris-persistence" } } }
1025+
persistence: { type: "relational-jdbc", relationalJdbc: { secret: { name: "polaris-persistence" } } }
10261026
asserts:
10271027
- contains:
10281028
path: spec.template.spec.containers[0].env

helm/polaris/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,6 @@ persistence:
526526
type: in-memory # relational-jdbc
527527
# -- The configuration for the relational-jdbc persistence manager.
528528
relationalJdbc:
529-
# -- The type of database to use. Valid values are: h2, postgres.
530-
dbKind: postgres # h2
531529
# -- The secret name to pull the database connection properties from.
532530
secret:
533531
# -- The secret name to pull the database connection properties from.

0 commit comments

Comments
 (0)