)
})}
diff --git a/src/components/cluster/ClusterForm.tsx b/src/components/cluster/ClusterForm.tsx
index e72953db2b..5a9a2c5195 100644
--- a/src/components/cluster/ClusterForm.tsx
+++ b/src/components/cluster/ClusterForm.tsx
@@ -40,12 +40,13 @@ import {
DeleteConfirmationModal,
DC_DELETE_SUBTITLES,
Textarea,
+ PasswordField,
} from '@devtron-labs/devtron-fe-common-lib'
import YAML from 'yaml'
import TippyHeadless from '@tippyjs/react/headless'
import { ReactComponent as Edit } from '@Icons/ic-pencil.svg'
import { ReactComponent as ErrorIcon } from '@Icons/ic-warning-y6.svg'
-import { useForm, CustomPassword, importComponentFromFELibrary } from '../common'
+import { useForm, importComponentFromFELibrary } from '../common'
import { ModuleStatus } from '../v2/devtronStackManager/DevtronStackManager.type'
import { saveCluster, updateCluster, deleteCluster, validateCluster, saveClusters } from './cluster.service'
import { ReactComponent as Close } from '@Icons/ic-close.svg'
@@ -893,12 +894,14 @@ export default function ClusterForm({
/>
-
diff --git a/src/components/common/formFields/CustomPassword.tsx b/src/components/common/formFields/CustomPassword.tsx
deleted file mode 100644
index fafc57a3c2..0000000000
--- a/src/components/common/formFields/CustomPassword.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2024. Devtron Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import React, { useState } from 'react'
-import { ReactComponent as Show } from '../../../assets/icons/ic-visibility-off.svg'
-import { ReactComponent as FormError } from '../../../assets/icons/ic-warning.svg'
-import './customPassword.css'
-
-export const CustomPassword = ({ name, value, error, onChange, label, disabled = false }) => {
- const [showPassword, setShowPassword] = useState(false)
- const type = showPassword ? 'text' : 'password'
- return (
-
- )
-}
diff --git a/src/components/common/formFields/customPassword.css b/src/components/common/formFields/customPassword.css
deleted file mode 100644
index 5faa559b95..0000000000
--- a/src/components/common/formFields/customPassword.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2024. Devtron Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.custom-password__show-btn {
- position: absolute;
- bottom: 7px;
- right: 10px;
- height: 28px;
-}
-
-.p-r-41 {
- padding-right: 41px;
-}
diff --git a/src/components/common/index.ts b/src/components/common/index.ts
index 6cb87c5a0f..51b463e651 100644
--- a/src/components/common/index.ts
+++ b/src/components/common/index.ts
@@ -30,7 +30,6 @@ export * from './helpers/isEmpty'
export * from './helpers/utils'
export * from './helpers/time'
export * from './Contexts'
-export { CustomPassword } from './formFields/CustomPassword'
export * from './DatePickers/Calender'
export * from './DatePickers/DayPickerRangeController'
export * from './helpers/compareVersion'
diff --git a/src/components/dockerRegistry/ManageRegistry.tsx b/src/components/dockerRegistry/ManageRegistry.tsx
index ef12f144c2..96c24f96c3 100644
--- a/src/components/dockerRegistry/ManageRegistry.tsx
+++ b/src/components/dockerRegistry/ManageRegistry.tsx
@@ -425,56 +425,43 @@ const ManageRegistry = ({