From 50c3f5946db18cf8ee1d9cb7b6fb873ca449f2a1 Mon Sep 17 00:00:00 2001 From: mackjmr Date: Mon, 29 Jan 2024 17:30:21 +0100 Subject: [PATCH] fix --- ci/scripts/ci-deploy-staging.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/scripts/ci-deploy-staging.sh b/ci/scripts/ci-deploy-staging.sh index 12eeb2654bf7..62a94154795b 100644 --- a/ci/scripts/ci-deploy-staging.sh +++ b/ci/scripts/ci-deploy-staging.sh @@ -28,11 +28,12 @@ install_collector() { -f ./ci/values.yaml \ --set-string image.tag="otelcolcontrib-v$CI_COMMIT_SHORT_SHA" \ --set-string image.repository="601427279990.dkr.ecr.us-east-1.amazonaws.com/otel-collector-contrib" \ + --set clusterRole.name="${clusterRole}" \ + --set clusterRole.clusterRoleBinding.name="${clusterRole}" # --set nodeSelector.alpha\\.eksctl\\.io/nodegroup-name="${nodegroup}" \ # --set mode="${mode}" \ # --set replicaCount="${replicaCount}" \ - --set clusterRole.name="${clusterRole}" \ - --set clusterRole.clusterRoleBinding.name="${clusterRole}" + # only deploy otlp col for otel-ds-gateway if [ "$namespace" == "otel-ds-gateway" ]; then