Skip to content

Commit

Permalink
Make VPA CRD specification OpenAPIV3 compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
bskiba authored and mikkeloscar committed Sep 4, 2020
1 parent ba432d2 commit 507faa9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vertical-pod-autoscaler/deploy/vpa-beta2-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,23 @@ spec:
openAPIV3Schema:
properties:
spec:
type: object
required: []
properties:
targetRef:
type: object
updatePolicy:
type: object
properties:
updateMode:
type: string
resourcePolicy:
type: object
properties:
containerPolicies:
type: array
items:
type: object
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down
5 changes: 5 additions & 0 deletions vertical-pod-autoscaler/deploy/vpa-v1-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,23 @@ spec:
openAPIV3Schema:
properties:
spec:
type: object
required: []
properties:
targetRef:
type: object
updatePolicy:
type: object
properties:
updateMode:
type: string
resourcePolicy:
type: object
properties:
containerPolicies:
type: array
items:
type: object
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down

0 comments on commit 507faa9

Please sign in to comment.