-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
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.
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done