Skip to content

Commit b39467f

Browse files
authored
Fix the command to wait for the operator deployment to be ready (#4816)
What we want is for the rollout to be complete. I also fixed an issue with the upgrade test steps.
1 parent f2c0c77 commit b39467f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ add-rbac-permissions-to-operator: manifests kustomize
321321
.PHONY: deploy
322322
deploy: set-image-controller
323323
$(KUSTOMIZE) build config/default | kubectl apply -f -
324-
kubectl wait --for=condition=available deployment/opentelemetry-operator-controller-manager -n opentelemetry-operator-system --timeout=300s
324+
kubectl rollout status deployment/opentelemetry-operator-controller-manager -n opentelemetry-operator-system --timeout=300s
325325

326326
# Undeploy controller in the current Kubernetes context, configured in ~/.kube/config
327327
.PHONY: undeploy

tests/e2e-upgrade/upgrade-test/chainsaw-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ spec:
1616
try:
1717
- script:
1818
timeout: 5m
19-
content: cd ../../../ && make deploy VERSION=e2e
19+
content: |
20+
make -C ../../../ deploy
2021
- name: step-02
2122
try:
2223
- apply:

0 commit comments

Comments
 (0)