feat: add kubernetes dynamic secret

This commit is contained in:
Sheen Capadngan
2025-05-29 00:16:01 +08:00
parent 7994034639
commit 650f6d9585
10 changed files with 1240 additions and 4 deletions
@@ -63,6 +63,18 @@ export type TCreateTokenReviewResponse = {
status: TCreateTokenReviewSuccessResponse | TCreateTokenReviewErrorResponse;
};
export type TKubernetesTokenRequest = {
apiVersion: "authentication.k8s.io/v1";
kind: "TokenRequest";
spec: {
audiences: string[];
expirationSeconds: number;
};
status: {
token: string;
};
};
export type TRevokeKubernetesAuthDTO = {
identityId: string;
} & Omit<TProjectPermission, "projectId">;