in src/widgets/dialogs/PodsTerminal/index.tsx [356:365]
function getAvailableShells() {
const selector = activePod?.spec?.nodeSelector || {};
const os = selector['kubernetes.io/os'] || selector['beta.kubernetes.io/os'];
if (os === 'linux') {
return ['bash', '/bin/bash', 'sh', '/bin/sh'];
} else if (os === 'windows') {
return ['powershell.exe', 'cmd.exe'];
}
return ['bash', '/bin/bash', 'sh', '/bin/sh', 'powershell.exe', 'cmd.exe'];
}