You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/validation/validation-rule.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The validation will be done as part of schema validation, the rule will be intro
6
6
7
7
- limit to lowercase characters i.e.; no uppercase allowed
8
8
- limit within 63 characters, except for endpoint’s name which is limited within 15 characters
9
-
- no special characters allowed, only dash(-)
9
+
- no special characters allowed except dash(-)
10
10
- start with an alphanumeric character
11
11
- end with an alphanumeric character
12
12
- must not be with all numbers (not included in schema validation, will have extra validation function)
@@ -17,7 +17,7 @@ The validation will be done as part of schema validation, the rule will be intro
17
17
Since network is shared in the same pod, endpoint ports should be unique across components, two components cannot have the same target port but two endpoints in a single component can have the same target port. Only exception: container component with `dedicatedpod=true`
18
18
19
19
### Commands:
20
-
1.Id must be unique
20
+
1.id must be unique
21
21
2. composite command:
22
22
- Should not reference itself via a subcommand
23
23
- Should not indirectly reference itself via a subcommand which is a composite command
@@ -34,7 +34,7 @@ Common rules for all components types:
34
34
35
35
#### Container component
36
36
1. the container components must reference a valid volume component if it uses volume mounts, and the volume components are unique
37
-
2.`PROJECT_SOURCE` or `PROJECTS_ROOT` are reserved Env, cannot be defined again in Env
37
+
2.`PROJECT_SOURCE` or `PROJECTS_ROOT` are reserved env, cannot be defined again in env
38
38
39
39
#### Plugin Component
40
40
- Commands in plugins components share the same commands validation rules as listed above. Validation occurs after overriding and merging, in flattened devfile
0 commit comments