Last active
June 5, 2020 01:17
-
-
Save thxCode/3be815b9b41482ce6c92afa9f5f0484b to your computer and use it in GitHub Desktop.
YAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: edge.cattle.io/v1alpha1 | |
kind: DeviceLink | |
metadata: | |
name: case1 | |
namespace: default | |
spec: | |
... | |
template: | |
metadata: | |
labels: | |
device: case1 | |
spec: | |
extension: | |
mqtt: | |
client: | |
server: tcp://test.mosquitto.org:1883 | |
will: | |
topic: | |
name: cattle.io/octopus/a-fixed-will-topic | |
payloadContent: closed | |
message: | |
topic: | |
prefix: cattle.io/octopus | |
with: uid | |
... | |
--> | |
dynamic topic: cattle.io/octopus/835aea2e-5f80-4d14-88f5-40c4bda41aa3 | |
will topic: cattle.io/octopus/a-fixed-will-topic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment