Skip to content

Build errors on updating @kubernetes/client-node to v.1.x #5086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vrubezhny opened this issue May 29, 2025 · 0 comments
Open

Build errors on updating @kubernetes/client-node to v.1.x #5086

vrubezhny opened this issue May 29, 2025 · 0 comments
Assignees

Comments

@vrubezhny
Copy link
Contributor

When trying to build a PR updating @kubernetes/client-node to 1.x the following errors appear:

Error: src/openshift/cluster.ts(1192,24): error TS2345: Argument of type '{ name: string; server: string; }' is not assignable to parameter of type 'Cluster'.
  Property 'skipTLSVerify' is missing in type '{ name: string; server: string; }' but required in type 'Cluster'.
Error: src/openshift/cluster.ts(1214,49): error TS2345: Argument of type 'string' is not assignable to parameter of type 'CoreV1ApiCreateNamespacedSecretRequest'.
Error: src/openshift/cluster.ts(1218,62): error TS2345: Argument of type 'string' is not assignable to parameter of type 'CoreV1ApiListNamespacedSecretRequest'.
Error: src/openshift/cluster.ts(1219,28): error TS2339: Property 'body' does not exist on type 'V1SecretList'.
Error: src/openshift/cluster.ts(1224,[7](https://github.com/redhat-developer/vscode-openshift-tools/actions/runs/15312919896/job/43081208159?pr=5084#step:5:8)9): error TS2345: Argument of type 'string' is not assignable to parameter of type 'CoreV1ApiListNamespacedServiceAccountRequest'.
Error: src/openshift/cluster.ts(1225,60): error TS2339: Property 'body' does not exist on type 'V1ServiceAccountList'.
Error: src/openshift/cluster.ts(1230,63): error TS2345: Argument of type 'string' is not assignable to parameter of type 'CoreV1ApiListNamespacedSecretRequest'.
Error: src/openshift/cluster.ts(1231,4[8](https://github.com/redhat-developer/vscode-openshift-tools/actions/runs/15312919896/job/43081208159?pr=5084#step:5:9)): error TS2339: Property 'body' does not exist on type 'V1SecretList'.
Error: src/webview/cluster/clusterViewLoader.ts(119,61): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Configuration<Middleware>'.
Error: src/webview/cluster/clusterViewLoader.ts(120,43): error TS233[9](https://github.com/redhat-developer/vscode-openshift-tools/actions/runs/15312919896/job/43081208159?pr=5084#step:5:10): Property 'setDefaultAuthentication' does not exist on type 'ObjectCoreV1Api'.
Error: Process completed with exit code 1.
vrubezhny added a commit that referenced this issue May 29, 2025
Fixes: #5086

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@vrubezhny vrubezhny self-assigned this Jun 3, 2025
@vrubezhny vrubezhny moved this to 📝 In Progress in IDE Cloudaptors Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📝 In Progress
Development

No branches or pull requests

1 participant