mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
stable/mysql add resources to init container (#13240)
Signed-off-by: Sung Kang <skang0601@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c4107a5b7e
commit
0496647c73
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 0.16.0
|
||||
version: 0.17.0
|
||||
appVersion: 5.7.14
|
||||
description: Fast, reliable, scalable, and easy to use open-source relational database
|
||||
system.
|
||||
|
||||
@@ -46,6 +46,7 @@ The following table lists the configurable parameters of the MySQL chart and the
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| -------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
|
||||
| `initContainer.resources` | initContainer resource requests/limits | Memory: `10Mi`, CPU: `10m` |
|
||||
| `image` | `mysql` image repository. | `mysql` |
|
||||
| `imageTag` | `mysql` image tag. | `5.7.14` |
|
||||
| `busybox.image` | `busybox` image repository. | `busybox` |
|
||||
|
||||
@@ -31,6 +31,8 @@ spec:
|
||||
- name: "remove-lost-found"
|
||||
image: "{{ .Values.busybox.image}}:{{ .Values.busybox.tag }}"
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
|
||||
resources:
|
||||
{{ toYaml .Values.initContainer.resources | indent 10 }}
|
||||
command: ["rm", "-fr", "/var/lib/mysql/lost+found"]
|
||||
volumeMounts:
|
||||
- name: data
|
||||
|
||||
@@ -177,3 +177,11 @@ podLabels: {}
|
||||
|
||||
## Set pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
|
||||
## Init container resources defaults
|
||||
initContainer:
|
||||
resources:
|
||||
requests:
|
||||
memory: 10Mi
|
||||
cpu: 10m
|
||||
|
||||
Reference in New Issue
Block a user