Helm - Enable configuring request and limit for containers in webhook jobs (#7434)
* helm: add feature to configure request and limit for container in createSecret and patchWebhook job Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com> * Remove empty line in helm template Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com> * Add test for admission webhook job container resources Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com> * Add new line character at the end of charts ci file Signed-off-by: Bhumij Gupta <bhumijgupta@gmail.com>
This commit is contained in:
parent
46be93808b
commit
6f0401fc73
4 changed files with 41 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
controller:
|
||||
service:
|
||||
type: ClusterIP
|
||||
admissionWebhooks:
|
||||
enabled: true
|
||||
createSecretJob:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
patchWebhookJob:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
patch:
|
||||
enabled: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue