Skip to content

Commit 2afd765

Browse files
committed
Fix linters
1 parent 51f7b97 commit 2afd765

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

frontend/src/hooks/api/pam/types/kubernetes-resource.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export type TKubernetesConnectionDetails = {
1414

1515
export type TKubernetesServiceAccountTokenCredentials = {
1616
authMethod: KubernetesAuthMethod.ServiceAccountToken;
17-
serviceAccountName: string;
1817
serviceAccountToken: string;
1918
};
2019

frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/KubernetesAccountForm.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ import { zodResolver } from "@hookform/resolvers/zod";
33
import { z } from "zod";
44

55
import { Button, FormControl, ModalClose, TextArea } from "@app/components/v2";
6-
import { KubernetesAuthMethod, TKubernetesAccount } from "@app/hooks/api/pam";
6+
import { KubernetesAuthMethod, PamResourceType, TKubernetesAccount } from "@app/hooks/api/pam";
77
import { UNCHANGED_PASSWORD_SENTINEL } from "@app/hooks/api/pam/constants";
88

99
import { GenericAccountFields, genericAccountFieldsSchema } from "./GenericAccountFields";
1010
import { rotateAccountFieldsSchema } from "./RotateAccountFields";
1111

1212
type Props = {
1313
account?: TKubernetesAccount;
14+
resourceId?: string;
15+
resourceType?: PamResourceType;
1416
onSubmit: (formData: FormData) => Promise<void>;
1517
};
1618

0 commit comments

Comments
 (0)