Skip to content

Commit

Permalink
Set default value for pvc.requestStorage (#837)
Browse files Browse the repository at this point in the history
Add validation for making pvc.accessMode required

Signed-off-by: devOpsHelm <[email protected]>
  • Loading branch information
devOpsHelm committed Aug 16, 2023
1 parent 0cf6328 commit d74c3f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ spec:
anyOf:
- type: integer
- type: string
default: 8Gi
description: A description of the PVC request capacity.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
Expand Down

0 comments on commit d74c3f8

Please sign in to comment.