pull always

This commit is contained in:
Victor Barba Martin 2021-11-17 15:38:49 +01:00
parent fd4aa88202
commit c3ee92da1d
5 changed files with 12 additions and 7 deletions

View File

@ -74,7 +74,7 @@ pipelines:
services:
- docker
- step:
name: Deploy to staging
name: Deploy coturn/coturn-dns to staging
deployment: staging
script:
- pipe: atlassian/kubectl-run:1.1.2

View File

@ -23,6 +23,7 @@ spec:
containers:
- name: coturn-dns
image: gcr.io/tough-craft-276813/coturn-dns:latest
imagePullPolicy: Always
env:
- name: AWS_ACCESS_KEY_ID
valueFrom:

View File

@ -20,6 +20,7 @@ spec:
containers:
- name: coturn
image: gcr.io/tough-craft-276813/coturn:latest
imagePullPolicy: Always
resources:
requests:
memory: "3800Mi"

View File

@ -1,9 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: webrtc-be-deployment
labels:
app: webrtc-be
name: webrtc-be
app: webrtc-be
spec:
selector:
matchLabels:
@ -19,7 +18,8 @@ spec:
- name: gcr-json-key
containers:
- name: webrtc-be
image: gcr.io/tough-craft-276813/webrtc_be:prod-0.1.83
image: gcr.io/tough-craft-276813/webrtc_be:latest
imagePullPolicy: Always
resources:
requests:
memory: "3800Mi"
@ -31,7 +31,7 @@ spec:
- name: RTC_MAX_PORT
value: "32768"
- name: BACKEND_URL
value: "https://staging.jamkazam.com"
value: {{ .Values.backendUrl }}
ports:
- name: websocket-port
containerPort: 5001

View File

@ -1 +1,4 @@
domain: "webrtc-be.staging.video.jamkazam.com"
# Ingress
domain: "webrtc-be.staging.video.jamkazam.com"
# Webrtc env variables
backendUrl: "https://staging.jamkazam.com"