Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion helm/polaris/ci/persistence-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ logging:
persistence:
type: relational-jdbc
relationalJdbc:
dbKind: postgres
secret:
name: polaris-persistence
5 changes: 0 additions & 5 deletions helm/polaris/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
2 changes: 1 addition & 1 deletion helm/polaris/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions helm/polaris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading