Skip to content

After upgrading to 1.0.0 readNamespacedPodLog broke #2196

@Leekao

Description

@Leekao

Describe the bug
Updated to 1.0.0 for IPV6 support, everything pretty much works besides readNamespacedPodLog which now always return this error, even when I send name hard coded still this error:

RequiredError: Required parameter name was null or undefined when calling CoreV1Api.readNamespacedPodLog.
W20250201-11:35:19.118(2)? (STDERR)     at CoreV1ApiRequestFactory.readNamespacedPodLog (packages/modules.js:76236:19)
W20250201-11:35:19.118(2)? (STDERR)     at ObservableCoreV1Api.readNamespacedPodLogWithHttpInfo (packages/modules.js:142280:59)
W20250201-11:35:19.118(2)? (STDERR)     at ObservableCoreV1Api.readNamespacedPodLog (packages/modules.js:142311:21)
W20250201-11:35:19.118(2)? (STDERR)     at ObjectCoreV1Api.readNamespacedPodLog (packages/modules.js:120139:25)

This is my call:

      console.log({namespace, podName, containerName})
      const response = await k8sCoreV1Api.readNamespacedPodLog(
        podName,
        namespace,
        containerName,
      );
 

This is the console.log:

I20250201-11:35:19.030(2)? {
I20250201-11:35:19.031(2)?   namespace: 'watchtst',
I20250201-11:35:19.031(2)?   podName: 'watchtst-api-b5f9756c5-d9tp8',
I20250201-11:35:19.031(2)?   containerName: 'api'
I20250201-11:35:19.031(2)? }

Client Version
1.0.0

Running on Meteor framework, Node 20, this code worked on prev release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions