Skip to content
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

Allow configuring PowerShell edition (powershell vs pwsh) when shelling into pods #2674

Open
Taha-cmd opened this issue Apr 24, 2024 · 0 comments

Comments

@Taha-cmd
Copy link




Is your feature request related to a problem? Please describe.
Currently, k9s uses powershell by default as an entrypoint for all Windows containers. (see https://github.com/derailed/k9s/blob/master/internal/view/pod.go#L34). However, this doesn't work for PowerShell Core, which has a different executable name (pwsh).

Describe the solution you'd like
Allow overriding the entrypoint command in the config file. We can keep powershell as the default to remain backwards compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant