mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
minor patches
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user