video-iac/scripts/replace-webrtc

8 lines
262 B
Plaintext
Raw Normal View History

2025-04-06 22:58:43 +00:00
#!/bin/bash
set -eu -o pipefail
ENV=$1 # stg or prd
KUBECONFIG=~/Downloads/$ENV-video-cluster-kubeconfig.yaml
kubectl --kubeconfig $KUBECONFIG --namespace webrtc-be get pod -o yaml | kubectl --kubeconfig $KUBECONFIG --namespace webrtc-be replace --force -f -