Skip to content

Commit

Permalink
Update workloads deployment to fix indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com>
  • Loading branch information
kate-goldenring committed Aug 22, 2024
1 parent 3ee6dfc commit 488eecb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/deploy-workloads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ fi

update_mqtt_workload_with_broker_cluster_ip() {
local dir=$1
echo "Waiting for emqx pod to be ready"
kubectl wait --for=condition=ready --timeout=20s pod/emqx
# The MQTT trigger cannot do DNS resolution, so we need to use the IP address of the MQTT broker
# Replace "EMQX_CLUSTER_IP" with the actual ClusterIP of the EMQX service
local cluster_ip=$(kubectl get svc emqx -o jsonpath='{.spec.clusterIP}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ spec:
spec:
runtimeClassName: wasmtime-spin
containers:
- name: spin-mqtt-message-logger
- name: spin-mqtt-message-logger
image: docker.io/library/spin-mqtt-message-logger:latest
imagePullPolicy: IfNotPresent
command: ["/"]
Expand Down

0 comments on commit 488eecb

Please sign in to comment.