Commit bdafb464 authored by Shaphen Pangburn's avatar Shaphen Pangburn

Merge branch 'master' of https://gitlab.mynisum.com/ascend/ecommerce-maven...

Merge branch 'master' of https://gitlab.mynisum.com/ascend/ecommerce-maven into enhance-product-page-styling
parents f481a1ef ea110e8a
......@@ -14,13 +14,18 @@ spec:
spec:
containers:
- name: afp-ecom-api-container
image: nexus.mynisum.com/afp-ecom-api:11
image: nexus.mynisum.com/afp-ecom-api:13
imagePullPolicy: Always
ports:
- containerPort: 8084
env:
- name: PORT
value: "8080"
- name: MONGOCONNECTION
valueFrom:
secretKeyRef:
name: mongodb-secret
key: spring.data.mongodb.uri
imagePullSecrets:
- name: registry-creds
......
spring.data.mongodb.uri=mongodb+srv://ecom:ecom@e-commerce-db-cluster.va815.mongodb.net/e-commerce-db?retryWrites=true&w=majority
spring.data.mongodb.database=e-commerce-db
security.enable-csrf=false
server.port=8080
apiVersion: apps/v1
kind: Deployment
metadata:
name: afp-ecom-ui-deployment
spec:
replicas: 2
selector:
matchLabels:
app: afp-ecom-ui
template:
metadata:
labels:
app: afp-ecom-ui
spec:
containers:
- name: afp-ecom-ui-container
image: nexus.mynisum.com/afp-ecom-ui:2
imagePullPolicy: Always
ports:
- containerPort: 8085
env:
- name: PORT
value: "8080"
imagePullSecrets:
- name: registry-creds
---
apiVersion: v1
kind: Service
metadata:
name: afp-ecom-ui-service
spec:
type: LoadBalancer
ports:
- port: 8085
targetPort: 8080
selector:
app: afp-ecom-ui
\ No newline at end of file
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