From 8c1dee78754a5d15f51533c594bbdcc1f89f971b Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Thu, 2 Sep 2021 16:50:01 +0200 Subject: [PATCH] add linode autoscaler production --- bitbucket-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 63635b5..4ca01e2 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -120,6 +120,11 @@ pipelines: - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-webrtc-be-autoscaler.yaml - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/production-coturn-autoscaler.yaml - sed -i "s|{{coturn_dns_image}}|$COTURN_DNS_IMAGE|g" k8s/coturn-dns/production-coturn-dns.yaml + - pipe: atlassian/kubectl-run:1.1.2 + variables: + KUBE_CONFIG: $KUBE_CONFIG_PRD + KUBECTL_COMMAND: 'apply' + RESOURCE_PATH: 'https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml' - pipe: atlassian/kubectl-run:1.1.2 variables: KUBE_CONFIG: $KUBE_CONFIG_PRD