Skip to content

cpFromPod and cpToPod are missing optional cwd param #2634

@dherbolt

Description

@dherbolt

Describe the bug
Optional param cwd was added in v0.19 (2bb4ab7) and is not preset in v1.x. We have implemented some features depending on it.
Why was it removed?

Client Version
e.g. 1.x.

Server Version
e.g. 1.30

To Reproduce
See the params of the Cp.cpFromPod and Cp.cpToPod in v0 and v1
v0: https://github.com/kubernetes-client/javascript/blob/0.22.3/src/cp.ts#L32
v1: https://github.com/kubernetes-client/javascript/blob/1.1.2/src/cp.ts#L31

Expected behavior
A clear and concise description of what you expected to happen.

Example Code
2bb4ab7

Environment (please complete the following information):

  • OS: MacOS
  • Node.js 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions