Commit 241d16c4 by Chavee Issariyapat

add authhook

parent b4aa7a7c
...@@ -25,6 +25,7 @@ ADD files/vm.args /etc/vernemq/vm.args ...@@ -25,6 +25,7 @@ ADD files/vm.args /etc/vernemq/vm.args
ADD bin/vernemq.sh /usr/sbin/start_vernemq ADD bin/vernemq.sh /usr/sbin/start_vernemq
ADD bin/rand_cluster_node.escript /var/lib/vernemq/rand_cluster_node.escript ADD bin/rand_cluster_node.escript /var/lib/vernemq/rand_cluster_node.escript
ADD files/vernemq.conf /etc/vernemq/vernemq.conf
# MQTT # MQTT
EXPOSE 1883 EXPOSE 1883
......
...@@ -55,9 +55,5 @@ module.exports = function(options={}) { ...@@ -55,9 +55,5 @@ module.exports = function(options={}) {
res.send(out); res.send(out);
next(); next();
} }
else {
next();
}
} }
} }
...@@ -51,8 +51,5 @@ module.exports = function(options={}) { ...@@ -51,8 +51,5 @@ module.exports = function(options={}) {
res.send(out); res.send(out);
next(); next();
} }
else {
next();
}
} }
} }
...@@ -55,9 +55,5 @@ module.exports = function(options={}) { ...@@ -55,9 +55,5 @@ module.exports = function(options={}) {
res.send(out); res.send(out);
next(); next();
} }
else {
next();
}
} }
} }
...@@ -9,7 +9,7 @@ metadata: ...@@ -9,7 +9,7 @@ metadata:
spec: spec:
# this replicas value is default # this replicas value is default
# modify it according to your case # modify it according to your case
replicas: 3 replicas: 1
# selector can be applied automatically # selector can be applied automatically
# from the labels in the pod template if not set # from the labels in the pod template if not set
selector: selector:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment