Skip to content
Snippets Groups Projects
Commit 29d458b2 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7906 add mongo user name suffixes

parent 6110f112
Branches
Tags
1 merge request!15Ozg 7906 aggregation manager server
......@@ -32,8 +32,8 @@ ozgcloud:
database:
useExternal: false
databaseName: aggregation-manager-database
secretName: ozg-mongodb-admin-aggregation-manager-user
databaseName: aggregation-manager-job-database
secretName: ozg-mongodb-admin-aggregation-manager-job-user
tls:
enabled: false
secretName: ozg-mongodb-tls-cert
......
......@@ -68,14 +68,14 @@ tests:
name: spring_data_mongodb_uri
valueFrom:
secretKeyRef:
name: ozg-mongodb-admin-aggregation-manager-user
name: ozg-mongodb-admin-aggregation-manager-job-user
key: connectionString.standardSrv
optional: false
- contains:
path: spec.jobTemplate.spec.template.spec.containers[0].env
content:
name: spring_data_mongodb_database
value: aggregation-manager-database
value: aggregation-manager-job-database
- it: should configure external mongodb if useExternal
set:
database.useExternal: true
......@@ -84,7 +84,7 @@ tests:
path: spec.jobTemplate.spec.template.spec.containers[0].envFrom
content:
secretRef:
name: ozg-mongodb-admin-aggregation-manager-user
name: ozg-mongodb-admin-aggregation-manager-job-user
- it: should not have a volume for the mongodb certificate if tls is disabled
set:
database:
......
......@@ -32,8 +32,8 @@ ozgcloud:
database:
useExternal: false
databaseName: aggregation-manager-database
secretName: ozg-mongodb-admin-aggregation-manager-user
databaseName: aggregation-manager-server-database
secretName: ozg-mongodb-admin-aggregation-manager-server-user
tls:
enabled: false
secretName: ozg-mongodb-tls-cert
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment