Skip to content

Commit

Permalink
Merge pull request #34 from fiaas/fix-pdb-alt-type
Browse files Browse the repository at this point in the history
Support absolute number and percentage in minAvailable and maxUnavailable on PDB
  • Loading branch information
oyvindio authored Feb 9, 2018
2 parents 95d6af8 + d1ff545 commit 4882fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k8s/models/pod_disruption_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class LabelSelector(Model):


class PodDisruptionBudgetSpec(Model):
minAvailable = Field(six.text_type)
maxUnavailable = Field(six.text_type)
minAvailable = Field(six.text_type, alt_type=int)
maxUnavailable = Field(six.text_type, alt_type=int)
selector = Field(LabelSelector)


Expand Down

0 comments on commit 4882fa1

Please sign in to comment.