Skip to content

Commit

Permalink
Merge pull request #16026 from zakiva/claim_requests_and_limits
Browse files Browse the repository at this point in the history
Add requests and limits to Persistent Volume Claim
  • Loading branch information
chessbyte authored Nov 14, 2017
2 parents f9f5aef + de6a04d commit 0874cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/persistent_volume_claim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ class PersistentVolumeClaim < ApplicationRecord
belongs_to :container_project
has_many :container_volumes
serialize :capacity, Hash
serialize :requests, Hash
serialize :limits, Hash

def persistent_volume
container_volumes.find_by_type('PersistentVolume')
Expand Down

0 comments on commit 0874cab

Please sign in to comment.