Skip to content

Commit

Permalink
Include database envs for ogc-api-records (#82)
Browse files Browse the repository at this point in the history
* Update ogc-api-records-deployment.yaml

* fix location for database-georchestra-envs + remove duplicate extra_environment

---------

Co-authored-by: Emilien Devos <[email protected]>
  • Loading branch information
jeanmi151 and edevosc2c committed Feb 7, 2024
1 parent a0d29de commit acaf055
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
value: "/etc/georchestra/geonetwork/microservices/ogc-api-records/config.yml"
{{- include "georchestra.service-envs" . | nindent 10 }}
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.database-georchestra-envs" . | nindent 10 }}
{{- if $webapp.extra_environment }}
{{- $webapp.extra_environment | toYaml | nindent 10 }}
{{- end }}
Expand All @@ -64,6 +65,8 @@ spec:
value: jdbc:postgresql://${PGHOST}:${PGPORT}/${PGDATABASE}?user=${PGUSER}&currentSchema=geonetwork
- name: SPRING_DATASOURCE_PASSWORD
value: ${PGPASSWORD}
{{- include "georchestra.service-envs" . | nindent 10 }}
{{- include "georchestra.common-envs" . | nindent 10 }}
{{- include "georchestra.database-georchestra-envs" . | nindent 10 }}
{{- if $webapp.extra_environment }}
{{- $webapp.extra_environment | toYaml | nindent 10 }}
Expand Down

0 comments on commit acaf055

Please sign in to comment.