diff --git a/.github/workflows/operator-test.yaml b/.github/workflows/operator-test.yaml index 0d21f290e..eeb3b4ad5 100644 --- a/.github/workflows/operator-test.yaml +++ b/.github/workflows/operator-test.yaml @@ -58,7 +58,8 @@ jobs: run: | helm install --namespace=opentelemetry-operator-system --create-namespace my-opentelemetry-operator ./charts/opentelemetry-operator \ --set 'manager.extraArgs[0]="--enable-go-instrumentation"' \ - --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" + --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" \ + --set "manager.podLabels.control-plane=controller-manager" kubectl wait --timeout=5m --for=condition=available deployment my-opentelemetry-operator -n opentelemetry-operator-system - name: Run e2e tests @@ -111,6 +112,7 @@ jobs: helm install --namespace=opentelemetry-operator-system --create-namespace my-opentelemetry-operator ./charts/opentelemetry-operator \ --set 'manager.extraArgs[0]="--enable-go-instrumentation"' \ --set "manager.collectorImage.repository=otel/opentelemetry-collector-k8s" \ + --set "manager.podLabels.control-plane=controller-manager" \ --set "admissionWebhooks.certManager.enabled=false" kubectl wait --timeout=5m --for=condition=available deployment my-opentelemetry-operator -n opentelemetry-operator-system