Skip to content

Commit

Permalink
Merge pull request #30 from tpmccallum/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
radu-matei authored Jun 28, 2024
2 parents 230b8a3 + 7cdaa35 commit d48a8d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The plugin then instantiates a Wasm component and injects the message to the com
Install MQTT Plugin:

```
spin plugin install --url https://github.com/spinkube/spin-trigger-mqtt/releases/download/v0.2.0/trigger-mqtt.json --yes
spin plugin install --url https://github.com/spinkube/spin-trigger-mqtt/releases/download/canary/trigger-mqtt.json --yes
```

[Note: release management for multiple versions of this plugin/trigger will be added soon]
Expand All @@ -33,11 +33,9 @@ spin templates install --git https://github.com/spinkube/spin-trigger-mqtt --upg
### Create Spin App

```
spin new mqtt-app
spin new -t mqtt-rust mqtt-app
```

Select the template called `mqtt-rust`

## Templating `mqtt` Configuration in `spin.toml`

The `address`, `username`, `password` and `topic` support the ability to be configured using Spin variables. An example of configuring the password using env variables:
Expand Down

0 comments on commit d48a8d7

Please sign in to comment.