-
-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
When entering a command for an initContainer, the validation requires no whitespace which doesn't seem right (always possible I'm missing something... I'm good at that).
dyrectorio/web/crux-ui/src/validations/container.ts
Lines 304 to 314 in cc2c56d
| const initContainerRule = yup | |
| .array( | |
| yup.object().shape({ | |
| name: matchNoWhitespace(yup.string().required().label('container:common.name')), | |
| image: yup.string().required().label('container:common.image'), | |
| command: uniqueKeysOnlySchema.default([]).nullable().label('container:common.images'), | |
| args: uniqueKeysOnlySchema.default([]).nullable().label('container:common.arguments'), | |
| environment: uniqueKeyValuesSchema.default([]).nullable().label('container:common.environment'), | |
| useParentConfig: yup.boolean().default(false).required().label('container:common.useParent'), | |
| volumes: initContainerVolumeLinkRule.default([]).nullable().label('container:common.volumes'), | |
| }), |
Metadata
Metadata
Assignees
Labels
No labels
