diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityKubernetesAuthForm.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityKubernetesAuthForm.tsx index d62199721..db83a4a83 100644 --- a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityKubernetesAuthForm.tsx +++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityKubernetesAuthForm.tsx @@ -46,7 +46,7 @@ const schema = z tokenReviewMode: z .nativeEnum(IdentityKubernetesAuthTokenReviewMode) .default(IdentityKubernetesAuthTokenReviewMode.Api), - kubernetesHost: z.string().min(1).optional().nullable(), + kubernetesHost: z.string().optional().nullable(), tokenReviewerJwt: z.string().optional(), gatewayId: z.string().optional().nullable(), allowedNames: z.string(), @@ -71,7 +71,7 @@ const schema = z .superRefine((data, ctx) => { if ( data.tokenReviewMode === IdentityKubernetesAuthTokenReviewMode.Api && - !data.kubernetesHost + !data.kubernetesHost?.length ) { ctx.addIssue({ path: ["kubernetesHost"], @@ -128,7 +128,7 @@ export const IdentityKubernetesAuthForm = ({ watch, setValue, - formState: { isSubmitting } + formState: { isSubmitting, errors } } = useForm({ resolver: zodResolver(schema), defaultValues: { diff --git a/helm-charts/infisical-gateway/Chart.yaml b/helm-charts/infisical-gateway/Chart.yaml index 92409028a..17c0a3785 100644 --- a/helm-charts/infisical-gateway/Chart.yaml +++ b/helm-charts/infisical-gateway/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.41 +version: 0.0.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.0.41" +appVersion: "0.0.5"