Skip to content

Commit

Permalink
fix: adds validation on disk volume mount path and subpath
Browse files Browse the repository at this point in the history
  • Loading branch information
RomilShah committed Jan 19, 2024
1 parent adeec4e commit 0662b67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions riocli/jsonschema/schemas/deployment-schema.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,13 @@ definitions:
type: string
mountPath:
type: string
pattern: '^([\\/][a-z0-9\s\-_@\-^!#$%&.]*)+(\.[a-z][a-z0-9]+)?$'
subPath:
type: string
pattern: '^([\\/][a-z0-9\s\-_@\-^!#$%&.]*)+(\.[a-z][a-z0-9]+)?$'
additionalProperties: false


endpointSpec:
properties:
name:
Expand Down

0 comments on commit 0662b67

Please sign in to comment.