Skip to content
Snippets Groups Projects
Unverified Commit a93de3ee authored by Footur's avatar Footur Committed by GitHub
Browse files

[mysql] Add resource configuration for the init container (#1189)


* Updated ghost chart for Ghost 5.25.1

* [mysql] Add resource configuration for the init container

* Added init container resources with description

Co-authored-by: default avatarGoeran Poehner <goeran.poehner@gmail.com>
parent 04197237
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,6 @@ type: application
maintainers:
- name: groundhog2k
version: 0.1.4
version: 0.1.5
appVersion: "8.0.31-oracle"
# MySQL
![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.0.31](https://img.shields.io/badge/AppVersion-8.0.31--oracle-informational?style=flat-square)
![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.0.31](https://img.shields.io/badge/AppVersion-8.0.31--oracle-informational?style=flat-square)
## Changelog
......@@ -68,6 +68,7 @@ helm uninstall my-release
| customLivenessProbe | object | `{}` | Custom liveness probe (overwrites default liveness probe configuration) |
| customReadinessProbe | object | `{}` | Custom readiness probe (overwrites default readiness probe configuration) |
| resources | object | `{}` | Resource limits and requests |
| initResources | object | `{}` | Resource limits and requests for the default init container |
| nodeSelector | object | `{}` | Deployment node selector |
| podAnnotations | object | `{}` | Additional pod annotations |
| podSecurityContext | object | `see values.yaml` | Pod security context |
......
......@@ -7,4 +7,5 @@
| 0.1.2 | 8.0.30 | Implemented support for custom inline init scripts |
| 0.1.3 | 8.0.30 | Implemented support for image.registry option |
| 0.1.4 | 8.0.31 | Upgraded MySQL to 8.0.31 |
| 0.1.5 | 8.0.31 | Added support for init container resources (thx @Footur) |
| | | |
......@@ -70,6 +70,10 @@ spec:
- mountPath: /configs
name: configs
command: [ "/initscripts/init.sh" ]
{{- with .Values.initResources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.extraInitContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
......
......@@ -70,6 +70,15 @@ resources: {}
# cpu: 100m
# memory: 128Mi
# Resources of the default init container
initResources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
tolerations: []
affinity: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment