Commit dd092589 authored by Ben Anderson's avatar Ben Anderson

Updated deployment file and properties

parent 63177c99
...@@ -14,7 +14,7 @@ spec: ...@@ -14,7 +14,7 @@ spec:
spec: spec:
containers: containers:
- name: afp-products-container - name: afp-products-container
image: nexus.mynisum.com/afp-products:41 image: nexus.mynisum.com/afp-products:42
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8080 - containerPort: 8080
...@@ -22,10 +22,10 @@ spec: ...@@ -22,10 +22,10 @@ spec:
- name: PORT - name: PORT
value: "8080" value: "8080"
- name: MONGOCONNECTION - name: MONGOCONNECTION
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: mongodb-secret name: mongodb-secret
key: spring.data.mongodb.uri key: spring.data.mongodb.uri
imagePullSecrets: imagePullSecrets:
- name: registry-creds - name: registry-creds
--- ---
......
server.port=8080 server.port=8080
spring.data.mongodb.uri=mongodb+srv://admin:${db.password}@inventory-promotions.d4nfz.mongodb\ spring.data.mongodb.uri=${MONGOCONNECTION}
.net/${spring.data.mongodb.database}?retryWrites=true&w=majority
spring.data.mongodb.database=products-promotions-DB spring.data.mongodb.database=products-promotions-DB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment