feat(kubernetes-plugin): enable a pod terminal at GCP GKE (#31915)

* chore: remove google for enabling pod terminal at gke

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: add chageset

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: update test code for enabling a pod terminal at gke

Signed-off-by: 김병준 <kingbj0429@gmail.com>

---------

Signed-off-by: 김병준 <kingbj0429@gmail.com>
This commit is contained in:
KoB
2025-12-02 09:34:10 +09:00
committed by GitHub
parent fe7dd15bdd
commit f966a8557f
3 changed files with 8 additions and 3 deletions
@@ -55,7 +55,7 @@ describe('useIsPodExecTerminalSupported', () => {
},
{
condition: 'AuthProvider is google',
returnValue: false,
returnValue: true,
testClusters: [{ authProvider: 'google' }],
},
{
@@ -34,8 +34,8 @@ export const useIsPodExecTerminalSupported = (): AsyncState<boolean> => {
}
const { authProvider } = clusters[0];
const isClientAuthProvider = ['aks', 'google', 'oidc'].some(
authProviderName => authProvider.includes(authProviderName),
const isClientAuthProvider = ['aks', 'oidc'].some(authProviderName =>
authProvider.includes(authProviderName),
);
return !isClientAuthProvider;