Skip to content

Commit

Permalink
adds mailing deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Iinguistics committed Apr 30, 2024
1 parent 8c57ac5 commit a2a3fcf
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions infra/k8s/mailing-depl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailing-depl
spec:
replicas: 1
selector:
matchLabels:
app: mailing
template:
metadata:
labels:
app: mailing
spec:
containers:
- name: mailing
image: jamesgoytia/ticketing-mailing
env:
- name: NATS_CLIENT_ID
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: NATS_URL
value: 'http://nats-srv:4222'
- name: NATS_CLUSTER_ID
value: ticketing
8 changes: 8 additions & 0 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ build:
manual:
- src: 'src/**/*.ts'
dest: .
- image: jamesgoytia/ticketing-mailing
context: mailing
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.ts'
dest: .

0 comments on commit a2a3fcf

Please sign in to comment.