Skip to content

Commit

Permalink
fix(rules): remove test default
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 22, 2019
1 parent 6f15d1c commit e02cd67
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions rules/kubernetes.yml
Expand Up @@ -22,13 +22,11 @@ rules:
required: [cpu, memory]
properties:
cpu: &resources-cpu
default: 500m
type: string
# oneOf:
# - type: number
# minimum: 1
# - type: string
# pattern: "[1-9][0-9]*m"
oneOf:
- type: number
minimum: 1
- type: string
pattern: "[1-9][0-9]*m"
memory: &resources-memory
oneOf:
- type: number
Expand Down

0 comments on commit e02cd67

Please sign in to comment.