Skip to content

Commit

Permalink
Release 6.4.1 (#7275)
Browse files Browse the repository at this point in the history
* should show resource if missing allowedResources data (#7274)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* Release 6.4.1

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

---------

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
  • Loading branch information
Iku-turso and jakolehm committed Mar 3, 2023
1 parent 5ac90e9 commit 33f573e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packages": [
"packages/*"
],
"version": "6.4.0",
"version": "6.4.1",
"npmClient": "yarn",
"npmClientArgs": [
"--network-timeout=100000"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"productName": "",
"description": "Lens Desktop Core",
"homepage": "https://github.com/lensapp/lens",
"version": "6.4.0",
"version": "6.4.1",
"repository": {
"type": "git",
"url": "git+https://github.com/lensapp/lens.git"
Expand Down
5 changes: 5 additions & 0 deletions packages/core/src/common/cluster/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,11 @@ export class Cluster implements ClusterModel {
}

shouldShowResource(resource: KubeApiResourceDescriptor): boolean {
if (this.allowedResources.size === 0) {
// better to show than hide everything
return true;
}

return this.allowedResources.has(formatKubeApiResource(resource));
}

Expand Down
4 changes: 2 additions & 2 deletions packages/extension-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@k8slens/extensions",
"productName": "OpenLens extensions",
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
"version": "6.4.0",
"version": "6.4.1",
"copyright": "© 2022 OpenLens Authors",
"license": "MIT",
"main": "dist/extension-api.js",
Expand All @@ -26,7 +26,7 @@
"prepare:dev": "yarn run build"
},
"dependencies": {
"@k8slens/core": "^6.4.0"
"@k8slens/core": "^6.4.1"
},
"devDependencies": {
"@types/node": "^16.18.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/open-lens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes",
"homepage": "https://github.com/lensapp/lens",
"version": "6.4.0",
"version": "6.4.1",
"repository": {
"type": "git",
"url": "git+https://github.com/lensapp/lens.git"
Expand Down Expand Up @@ -192,7 +192,7 @@
}
},
"dependencies": {
"@k8slens/core": "^6.4.0",
"@k8slens/core": "^6.4.1",
"@k8slens/ensure-binaries": "^6.4.0-beta.16",
"@k8slens/generate-tray-icons": "^6.4.0-beta.16",
"@ogre-tools/fp": "^12.0.1",
Expand Down

0 comments on commit 33f573e

Please sign in to comment.