k8s-configmap-volumes
v1.0.0
Published
Library to deal with configmaps as volumes
Downloads
3
Readme
k8s-configmap-volumes
Abstracts Kubernetes configmap data from mounted volumes.
Usage
const config = require('./lib/k8s-configmap-volumes.js')();
config.onChange = function(name) {console.log("config changed "+name);};
config.add("rabbit-amqp", '/etc/config/mock-ti-nodejs/rabbit-amqp');
config.add("inExchangeName", '/etc/config/mock-ti-nodejs/inExchangeName');
config.add("outExchangeName", '/etc/config/mock-ti-nodejs/outExchangeName');