snmp-mqtt/deployment/pushconfig.sh

5 lines
183 B
Bash
Raw Normal View History

2024-01-25 15:00:40 +01:00
#!/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