From 539e50b75f69d93e1e56366c6145df415e9e93df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E6=9C=88?= Date: Mon, 23 Oct 2023 02:16:59 -0500 Subject: [PATCH] fix: Remove kubeconfig type when create credential (#4222) fix: remove kubeconfig type when create credential Signed-off-by: yazhou --- 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 36dd7b4161d..3cf549ce6ab 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}