Commit 5adc9113 authored by Ben Anderson's avatar Ben Anderson

Added deployment file

parent 4bd427cb
apiVersion: apps/v1
kind: Deployment
metadata:
name: afp-promotions-deployment
spec:
replicas: 2
selector:
matchLabels:
app: afp-promotions
template:
metadata:
labels:
app: afp-promotions
spec:
containers:
- name: afp-promotions-container
image: nexus.mynisum.com/afp-promotions:latest
imagePullPolicy: Always
ports:
- containerPort: 8082
env:
- name: PORT
value: "8081"
imagePullSecrets:
- name: registry-creds
---
apiVersion: v1
kind: Service
metadata:
name: afp-promotions-service
spec:
type: LoadBalancer
ports:
- port: 8082
targetPort: 8082
selector:
app: afp-promotions
\ No newline at end of file
db.password=wHXHvtngAwKVdjZl
\ 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