Commit 11b118b7 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

Edit deployment.yaml to add postgress DB variables

parent c371eb92
Loading
Loading
Loading
Loading
Loading
+6 −0
Changes for charts/hypo/templates/sonata/deployment.yaml: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -84,6 +84,12 @@ spec:
              value: {{ .Values.infinispan.env.clientIntelligence }}
            - name: SONATA_VAULT_TOKEN_PATH
              value: {{ .Values.sonata.env.SONATA_VAULT_TOKEN_PATH }}
            - name: _PROD_QUARKUS_DATASOURCE_JDBC_URL
              value: jdbc:postgresql://{{ template "hypo.postgresql.url" . }}:{{ include "hypo.postgresql.port" . }}/SONATA_DB
            - name: _PROD_QUARKUS_DATASOURCE_USERNAME
              value: {{ $postgresqlDb.auth.username }}
            - name: _PROD_QUARKUS_DATASOURCE_PASSWORD
              value: {{ $postgresqlDb.auth.password }}
            #- name: _PROD_QUARKUS_OTEL_EXPORTER_OTLP_TRACES_TIMEOUT
            #  value: 30S
          resources: