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: ...@@ -32,8 +32,8 @@ ozgcloud:
database: database:
useExternal: false useExternal: false
databaseName: aggregation-manager-database databaseName: aggregation-manager-job-database
secretName: ozg-mongodb-admin-aggregation-manager-user secretName: ozg-mongodb-admin-aggregation-manager-job-user
tls: tls:
enabled: false enabled: false
secretName: ozg-mongodb-tls-cert secretName: ozg-mongodb-tls-cert
......
...@@ -68,14 +68,14 @@ tests: ...@@ -68,14 +68,14 @@ tests:
name: spring_data_mongodb_uri name: spring_data_mongodb_uri
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: ozg-mongodb-admin-aggregation-manager-user name: ozg-mongodb-admin-aggregation-manager-job-user
key: connectionString.standardSrv key: connectionString.standardSrv
optional: false optional: false
- contains: - contains:
path: spec.jobTemplate.spec.template.spec.containers[0].env path: spec.jobTemplate.spec.template.spec.containers[0].env
content: content:
name: spring_data_mongodb_database name: spring_data_mongodb_database
value: aggregation-manager-database value: aggregation-manager-job-database
- it: should configure external mongodb if useExternal - it: should configure external mongodb if useExternal
set: set:
database.useExternal: true database.useExternal: true
...@@ -84,7 +84,7 @@ tests: ...@@ -84,7 +84,7 @@ tests:
path: spec.jobTemplate.spec.template.spec.containers[0].envFrom path: spec.jobTemplate.spec.template.spec.containers[0].envFrom
content: content:
secretRef: 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 - it: should not have a volume for the mongodb certificate if tls is disabled
set: set:
database: database:
......
...@@ -32,8 +32,8 @@ ozgcloud: ...@@ -32,8 +32,8 @@ ozgcloud:
database: database:
useExternal: false useExternal: false
databaseName: aggregation-manager-database databaseName: aggregation-manager-server-database
secretName: ozg-mongodb-admin-aggregation-manager-user secretName: ozg-mongodb-admin-aggregation-manager-server-user
tls: tls:
enabled: false enabled: false
secretName: ozg-mongodb-tls-cert 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