Skip to content

Commit

Permalink
fix(k8s): error with basic auth on WebSocket connections
Browse files Browse the repository at this point in the history
Using fork of the k8s API library, pending release of
kubernetes-client/javascript#492.
  • Loading branch information
edvald committed Aug 31, 2020
1 parent 7032e76 commit 07488d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"main": "build/src/index.js",
"dependencies": {
"@hapi/joi": "git+https://github.com/garden-io/joi.git#master",
"@kubernetes/client-node": "^0.12.0",
"@kubernetes/client-node": "git+https://github.com/garden-io/javascript.git#fix-websocket-basic-auth-yarn",
"JSONStream": "^1.3.5",
"ajv": "^6.12.2",
"analytics-node": "3.3.0",
Expand Down
17 changes: 10 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1766,14 +1766,14 @@
"@types/istanbul-reports" "^1.1.1"
"@types/yargs" "^13.0.0"

"@kubernetes/client-node@^0.12.0":
version "0.12.0"
resolved "https://registry.yarnpkg.com/@kubernetes/client-node/-/client-node-0.12.0.tgz#79120311bced206ac8fa36435fb4cc2c1828fff2"
integrity sha512-u57q5IaZl91f7YZoZOsgCa31hHyowHxFG88XZXd8arI8heSxbdHWHineo/8mLZbeSbHkge9Awae1stQZzuTnjg==
"@kubernetes/client-node@git+https://github.com/garden-io/javascript.git#fix-websocket-basic-auth-yarn":
version "0.12.1"
resolved "git+https://github.com/garden-io/javascript.git#501d427c5d9464e59946ddaa2af9382c32c12e2e"
dependencies:
"@types/js-yaml" "^3.12.1"
"@types/node" "^10.12.0"
"@types/request" "^2.47.1"
"@types/tar" "^4.0.3"
"@types/underscore" "^1.8.9"
"@types/ws" "^6.0.1"
byline "^5.0.0"
Expand All @@ -1785,9 +1785,12 @@
request "^2.88.0"
rfc4648 "^1.3.0"
shelljs "^0.8.2"
stream-buffers "^3.0.2"
tar "^6.0.2"
tmp-promise "^3.0.2"
tslib "^1.9.3"
underscore "^1.9.1"
ws "^6.1.0"
ws "^7.3.1"

"@lerna/[email protected]":
version "3.21.0"
Expand Down Expand Up @@ -20760,14 +20763,14 @@ ws@^5.2.0:
dependencies:
async-limiter "~1.0.0"

ws@^6.1.0, ws@^6.1.2, ws@^6.2.1:
ws@^6.1.2, ws@^6.2.1:
version "6.2.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb"
integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==
dependencies:
async-limiter "~1.0.0"

ws@^7.0.1, ws@^7.3.0:
ws@^7.0.1, ws@^7.3.0, ws@^7.3.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8"
integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==
Expand Down

0 comments on commit 07488d4

Please sign in to comment.