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