Skip to content

Commit e6d0b46

Browse files
authored
Wait for CRDs to be Established before using them in workflows (#8)
1 parent 5e5b27b commit e6d0b46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ deploy-dev-environment:
2929
helm repo add flink-operator-repo https://downloads.apache.org/flink/flink-kubernetes-operator-1.4.0/
3030
helm upgrade --install --atomic --set webhook.create=false flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator
3131
kubectl apply -f "https://strimzi.io/install/latest?namespace=kafka" -n kafka
32+
kubectl wait --for=condition=Established=True crds/kafkas.kafka.strimzi.io
3233
kubectl apply -f "https://strimzi.io/examples/latest/kafka/kafka-ephemeral-single.yaml" -n kafka
3334
kubectl apply -f ./deploy/dev
3435

35-
deploy-samples:
36+
deploy-samples: deploy
37+
kubectl wait --for=condition=Established=True \
38+
crds/subscriptions.hoptimator.linkedin.com \
39+
crds/kafkatopics.hoptimator.linkedin.com \
40+
crds/sqljobs.hoptimator.linkedin.com
3641
kubectl apply -f ./deploy/samples
3742

3843
deploy-config:

0 commit comments

Comments
 (0)