We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0382e2 commit 649132dCopy full SHA for 649132d
decoder/job-definition-schema.yaml
@@ -145,10 +145,15 @@ definitions:
145
- working-directory
146
147
# A kubernetes CPU (cores) declaration (minimum of 10m).
148
- # Here we allow an up-to 4-digit m value or a 2-digit integer.
+ # Here we allow an up-to 4-digit 'm' value or a 2-digit integer.
149
cores:
150
- type: string
151
- pattern: '^([1-9][0-9]{1,3}m|[1-9][0-9]{0,1})$'
+ type: object
+ oneOf:
152
+ - type: string
153
+ pattern: '^([1-9][0-9]{1,3}m$'
154
+ - type: integer
155
+ minimum: 1
156
+ maximum: 99
157
158
# A kubernetes memory declaration.
159
# Here we allow an up-to 4-digit Mi value (minimum of 100Mi)
0 commit comments