Skip to content

Commit 3e2e228

Browse files
authored
update the mqtt image (#346)
Signed-off-by: Wei Liu <[email protected]>
1 parent 869d21d commit 3e2e228

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

examples/deploy/mqtt/mqtt-broker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
spec:
4040
containers:
4141
- name: mosquitto
42-
image: eclipse-mosquitto:2.0.18
42+
image: quay.io/maestro/eclipse-mosquitto:2.0.18
4343
imagePullPolicy: IfNotPresent
4444
ports:
4545
- containerPort: 1883

examples/deploy/ocm-cloudevents/install.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,4 @@ ${KUBECTL} -n open-cluster-management-agent rollout status deployment/klusterlet
6969
${KUBECTL} -n open-cluster-management-agent get pod -l app=klusterlet-manifestwork-agent
7070

7171
# TODO: add live probe for the work-agent to check if it is connected to the mqtt broker
72-
isRunning=false
73-
for i in {1..20}; do
74-
if ${KUBECTL} -n open-cluster-management-agent logs deployment/klusterlet-work-agent | grep "subscribing to topics"; then
75-
echo "klusterlet-work-agent is subscribing to topics from mqtt broker"
76-
isRunning=true
77-
break
78-
fi
79-
sleep 12
80-
done
81-
82-
if [ "$isRunning" = false ]; then
83-
echo "timeout waiting for klusterlet-work-agent to subscribe to topics from mqtt broker"
84-
exit 1
85-
fi
72+
sleep 60

0 commit comments

Comments
 (0)