Fix linters

This commit is contained in:
Fang-Pen Lin
2025-12-05 11:52:20 -08:00
parent 51f7b97df1
commit 2afd765d9e
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ export type TKubernetesConnectionDetails = {
export type TKubernetesServiceAccountTokenCredentials = {
authMethod: KubernetesAuthMethod.ServiceAccountToken;
serviceAccountName: string;
serviceAccountToken: string;
};

View File

@@ -3,7 +3,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { z } from "zod";
import { Button, FormControl, ModalClose, TextArea } from "@app/components/v2";
import { KubernetesAuthMethod, TKubernetesAccount } from "@app/hooks/api/pam";
import { KubernetesAuthMethod, PamResourceType, TKubernetesAccount } from "@app/hooks/api/pam";
import { UNCHANGED_PASSWORD_SENTINEL } from "@app/hooks/api/pam/constants";
import { GenericAccountFields, genericAccountFieldsSchema } from "./GenericAccountFields";
@@ -11,6 +11,8 @@ import { rotateAccountFieldsSchema } from "./RotateAccountFields";
type Props = {
account?: TKubernetesAccount;
resourceId?: string;
resourceType?: PamResourceType;
onSubmit: (formData: FormData) => Promise<void>;
};