Skip to content

Overwriting env vars again #2579

@Stasmo

Description

@Stasmo

Describe the bug
Basically issue 954 again

You're referencing process.env and then overwriting the values in it.

https://github.com/kubernetes-client/javascript/blob/main/src/exec_auth.ts#L99

Should copy the existing env for the auth command execution.

            const env = { ...process.env };

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