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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user