anno
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2024-01-25 15:00:40 +01:00
parent f407198c5b
commit 353a3780c6
Signed by: wn
GPG Key ID: 836E9E1192A6B132
3 changed files with 8 additions and 12 deletions

View File

@ -12,24 +12,14 @@
"community": "public", "community": "public",
"oidTopics": [ "oidTopics": [
{ {
"oid": ".1.3.6.1.2.1.31.1.1.1.6.4", "oid": ".1.3.6.1.2.1.2.2.1.10.5",
"label": "wan-in", "label": "wan-in",
"diff": "true" "diff": "true"
}, },
{ {
"oid": ".1.3.6.1.2.1.31.1.1.1.10.4", "oid": ".1.3.6.1.2.1.2.2.1.16.5",
"label": "wan-out", "label": "wan-out",
"diff": "true" "diff": "true"
},
{
"oid": ".1.3.6.1.2.1.31.1.1.1.6.2",
"label": "lan-in",
"diff": "true"
},
{
"oid": ".1.3.6.1.2.1.31.1.1.1.10.2",
"label": "lan-out",
"diff": "true
} }
] ]
} }

View File

@ -5,6 +5,8 @@ metadata:
namespace: homea namespace: homea
labels: labels:
app: snmp-nmqtt app: snmp-nmqtt
annotations:
secret.reloader.stakater.com/reload: "snmp-mqtt-conf"
spec: spec:
replicas: 1 replicas: 1
selector: selector:

4
deployment/pushconfig.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
kubectl create configmap snmp-mqtt-conf --from-literal=SNMP_MQTT_CONF="`cat config.json`" --dry-run=client -o yaml --save-config | kubectl apply -f - -n homea