thorin-plugin-cluster-kube 2.0.11 → 2.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/clusterClient.js +3 -0
- package/package.json +1 -1
package/lib/clusterClient.js
CHANGED
|
@@ -198,6 +198,9 @@ module.exports = function init(thorin, opt) {
|
|
|
198
198
|
let clientData = intentObj.client(),
|
|
199
199
|
tokenType = intentObj.authorizationSource,
|
|
200
200
|
accessToken = intentObj.authorization;
|
|
201
|
+
if (intentObj.data('proxy_auth') === true) {
|
|
202
|
+
return true;
|
|
203
|
+
}
|
|
201
204
|
if (clientData.headers) {
|
|
202
205
|
let headerToken = clientData.headers['x-cluster-token'];
|
|
203
206
|
if (headerToken) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thorin-plugin-cluster-kube",
|
|
3
3
|
"author": "UNLOQ Systems",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.12",
|
|
5
5
|
"dependencies": {},
|
|
6
6
|
"description": "Thorin.js cluster plugin for microservice communication within a kubernetes environment",
|
|
7
7
|
"main": "index.js",
|