snmp-mqtt/deployment/pushconfig.sh
Wolfgang Hottgenroth 353a3780c6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
anno
2024-01-25 15:00:40 +01:00

5 lines
183 B
Bash
Executable File

#!/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