Requirements: Improve CRD OpenAPI schema

This commit is contained in:
Yanis Guenane
2021-02-16 16:38:03 +01:00
parent 3b9b4225ae
commit 53fd88a4e1
5 changed files with 154 additions and 2 deletions

View File

@@ -75,9 +75,47 @@ spec:
- ifnotpresent
tower_task_resource_requirements:
description: Resource requirements for the task container
properties:
requests:
properties:
cpu:
type: string
memory:
type: string
storage:
type: string
type: object
limits:
properties:
cpu:
type: string
memory:
type: string
storage:
type: string
type: object
type: object
tower_web_resource_requirements:
description: Resource requirements for the web container
properties:
requests:
properties:
cpu:
type: string
memory:
type: string
storage:
type: string
type: object
limits:
properties:
cpu:
type: string
memory:
type: string
storage:
type: string
type: object
type: object
tower_replicas:
description: Number of instance replicas