minor patches

This commit is contained in:
Daniel Hougaard
2025-06-11 00:11:00 +04:00
parent 47e778a0b8
commit c5b7e3d8be
2 changed files with 5 additions and 5 deletions

View File

@@ -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<FormData>({
resolver: zodResolver(schema),
defaultValues: {

View File

@@ -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"