Update code with capability to set the init container resources instead of using web or task container resources (#1439)

This commit is contained in:
rakesh561
2023-06-23 14:09:09 -04:00
committed by GitHub
parent 213c1bebc4
commit a8d2831b1c
5 changed files with 36 additions and 4 deletions

View File

@@ -1489,6 +1489,28 @@ spec:
type: string
type: object
type: object
init_container_resource_requirements:
description: Resource requirements for the init 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
service_account_annotations:
description: ServiceAccount annotations
type: string

View File

@@ -371,6 +371,11 @@ spec:
path: postgres_storage_requirements
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- description: Init Container resource requirements
path: init_container_resource_requirements
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
- displayName: Replicas
path: replicas
x-descriptors: