From d11c9396c16ad942b5b7f994114e265440c55d0a Mon Sep 17 00:00:00 2001 From: donniean Date: Fri, 3 Nov 2023 10:58:35 +0800 Subject: [PATCH] revert: recovery kubeconfig type when create credential (#4245) Signed-off-by: donniean --- src/components/Modals/CredentialCreate/index.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Modals/CredentialCreate/index.jsx b/src/components/Modals/CredentialCreate/index.jsx index 3cf549ce6ab..36dd7b4161d 100644 --- a/src/components/Modals/CredentialCreate/index.jsx +++ b/src/components/Modals/CredentialCreate/index.jsx @@ -294,10 +294,10 @@ export default class CredentialModal extends React.Component { label: t('CREDENTIAL_TYPE_SECRET_TEXT'), value: 'secret_text', }, - // { - // label: t('CREDENTIAL_TYPE_KUBECONFIG'), - // value: 'kubeconfig', - // }, + { + label: t('CREDENTIAL_TYPE_KUBECONFIG'), + value: 'kubeconfig', + }, ]} disabled={isEditMode} onChange={this.handleTypeChange}