fix coturn-dns
This commit is contained in:
parent
6b24cf7392
commit
31ce20224f
|
|
@ -92,4 +92,24 @@ pipelines:
|
||||||
- pipe: atlassian/kubectl-run:1.1.2
|
- pipe: atlassian/kubectl-run:1.1.2
|
||||||
variables:
|
variables:
|
||||||
KUBE_CONFIG: $KUBE_CONFIG_STG
|
KUBE_CONFIG: $KUBE_CONFIG_STG
|
||||||
|
KUBECTL_COMMAND: '-n coturn-dns rollout status -w deployment/coturn-dns'
|
||||||
|
- step:
|
||||||
|
name: Deploy coturn/coturn-dns to produdction
|
||||||
|
deployment: produdction
|
||||||
|
script:
|
||||||
|
- pipe: atlassian/kubectl-run:1.1.2
|
||||||
|
variables:
|
||||||
|
KUBE_CONFIG: $KUBE_CONFIG_PRD
|
||||||
|
KUBECTL_COMMAND: '-n coturn rollout restart deployment/coturn'
|
||||||
|
- pipe: atlassian/kubectl-run:1.1.2
|
||||||
|
variables:
|
||||||
|
KUBE_CONFIG: $KUBE_CONFIG_PRD
|
||||||
|
KUBECTL_COMMAND: '-n coturn rollout status -w deployment/coturn'
|
||||||
|
- pipe: atlassian/kubectl-run:1.1.2
|
||||||
|
variables:
|
||||||
|
KUBE_CONFIG: $KUBE_CONFIG_PRD
|
||||||
|
KUBECTL_COMMAND: '-n coturn-dns rollout restart deployment/coturn-dns'
|
||||||
|
- pipe: atlassian/kubectl-run:1.1.2
|
||||||
|
variables:
|
||||||
|
KUBE_CONFIG: $KUBE_CONFIG_PRD
|
||||||
KUBECTL_COMMAND: '-n coturn-dns rollout status -w deployment/coturn-dns'
|
KUBECTL_COMMAND: '-n coturn-dns rollout status -w deployment/coturn-dns'
|
||||||
|
|
@ -5,7 +5,6 @@ import os
|
||||||
|
|
||||||
HOSTED_ZONE=os.environ['HOSTED_ZONE']
|
HOSTED_ZONE=os.environ['HOSTED_ZONE']
|
||||||
COTURN_DOMAIN_NAME=os.environ['COTURN_DOMAIN_NAME']
|
COTURN_DOMAIN_NAME=os.environ['COTURN_DOMAIN_NAME']
|
||||||
COTURN_DOMAIN_NAME="coturn.staging.video.jamkazam.com"
|
|
||||||
|
|
||||||
config.load_incluster_config()
|
config.load_incluster_config()
|
||||||
v1 = client.CoreV1Api()
|
v1 = client.CoreV1Api()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue