Skip to content

Commit

Permalink
Merge pull request #91 from sttts/sttts-integer-quota-4.2
Browse files Browse the repository at this point in the history
Bug 1755125: 4.2 - ClusterResourceQuota: allow integer values
  • Loading branch information
openshift-merge-robot committed Sep 30, 2019
2 parents cda861a + 65d8387 commit 7e4895c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ spec:
properties:
hard:
additionalProperties:
type: string
anyOf:
- type: string
- type: integer
description: 'hard is the set of desired hard limits for each named
resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/'
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spec:
validation:
openAPIV3Schema:
properties:
spec:
properties:
quota:
properties:
hard:
additionalProperties:
anyOf:
- type: string
- type: integer
type: null

0 comments on commit 7e4895c

Please sign in to comment.