Skip to content

Commit

Permalink
Revert "Fix jaeger operator wait logic (#2114)"
Browse files Browse the repository at this point in the history
This reverts commit 1e7f94c.
  • Loading branch information
ykadowak committed Nov 30, 2023
1 parent bbf8995 commit a012e7e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile.d/k8s.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

JAEGER_OPERATOR_WAIT_DURATION := 0

.PHONY: k8s/manifest/clean
## clean k8s manifests
k8s/manifest/clean:
Expand Down Expand Up @@ -230,8 +227,7 @@ k8s/metrics/jaeger/deploy:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
helm install jaeger jaegertracing/jaeger-operator --version $(JAEGER_OPERATOR_VERSION)
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=jaeger-operator --timeout=60s
kubectl wait --for=condition=available deployment/jaeger-jaeger-operator --timeout=60s
sleep $(JAEGER_OPERATOR_WAIT_DURATION)
until kubectl run busybox --restart=Never --image=busybox --rm -it -- wget -q -S --spider "https://jaeger-operator-webhook-service.default.svc:443/mutate-jaegertracing-io-v1-jaeger"; do sleep 1; done
kubectl apply -f k8s/metrics/jaeger/jaeger.yaml

.PHONY: k8s/metrics/jaeger/delete
Expand Down

0 comments on commit a012e7e

Please sign in to comment.