Skip to content
Snippets Groups Projects
Commit fefcd020 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4956-use ConnectionService for db connection

parent 9d225ccb
Branches
Tags
No related merge requests found
...@@ -64,7 +64,7 @@ spec: ...@@ -64,7 +64,7 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ include "app.databaseSecretName" . }} name: {{ include "app.databaseSecretName" . }}
key: connectionString.standard key: connectionString.standardSrv
optional: false optional: false
{{- if not (.Values.sso).api_user }} {{- if not (.Values.sso).api_user }}
- name: OZGCLOUD_KEYCLOAK_API_PASSWORD - name: OZGCLOUD_KEYCLOAK_API_PASSWORD
......
...@@ -35,7 +35,7 @@ set: ...@@ -35,7 +35,7 @@ set:
sso.serverUrl: https://sso.company.local sso.serverUrl: https://sso.company.local
baseUrl: test.company.local baseUrl: test.company.local
tests: tests:
- it: should reference mongodb connectionString for user-manager - it: should reference mongodb connection service for user-manager
set: set:
database.secretName: pluto-database-admin-user-manager-database-user database.secretName: pluto-database-admin-user-manager-database-user
template: deployment.yaml template: deployment.yaml
...@@ -48,10 +48,10 @@ tests: ...@@ -48,10 +48,10 @@ tests:
name: QUARKUS_MONGODB_CONNECTION_STRING name: QUARKUS_MONGODB_CONNECTION_STRING
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
key: connectionString.standard key: connectionString.standardSrv
name: pluto-database-admin-user-manager-database-user name: pluto-database-admin-user-manager-database-user
optional: false optional: false
- it: check default mongodb connectionString for user-manager - it: check default mongodb connection service for user-manager
template: deployment.yaml template: deployment.yaml
release: release:
namespace: sh-helm-test namespace: sh-helm-test
...@@ -62,6 +62,6 @@ tests: ...@@ -62,6 +62,6 @@ tests:
name: QUARKUS_MONGODB_CONNECTION_STRING name: QUARKUS_MONGODB_CONNECTION_STRING
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
key: connectionString.standard key: connectionString.standardSrv
name: ozg-mongodb-admin-user-manager-user name: ozg-mongodb-admin-user-manager-user
optional: false optional: false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment