mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mysql] Add service annotations using '.Values.service' (#10553)
* [stable/mysql] Allow annoations to be added in a service using "service.annotations" Signed-off-by: sungwon.choi <sungwon.choi@devsisters.com> * Chart version upgraded properly and specifying the explantion about 'service.annotations' Signed-off-by: sungwon.choi <sungwon.choi@devsisters.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7b7ae2d11e
commit
415ef1cdbe
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 0.12.0
|
||||
version: 0.13.0
|
||||
appVersion: 5.7.14
|
||||
description: Fast, reliable, scalable, and easy to use open-source relational database
|
||||
system.
|
||||
|
||||
@@ -90,6 +90,7 @@ The following table lists the configurable parameters of the MySQL chart and the
|
||||
| `metrics.readinessProbe.timeoutSeconds` | When the probe times out | 1 |
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `100m` |
|
||||
| `configurationFiles` | List of mysql configuration files | `nil` |
|
||||
| `service.annotations` | Kubernetes annotations for mysql | {} |
|
||||
| `ssl.enabled` | Setup and use SSL for MySQL connections | `false` |
|
||||
| `ssl.secret` | Name of the secret containing the SSL certificates | mysql-ssl-certs |
|
||||
| `ssl.certificates[0].name` | Name of the secret containing the SSL certificates | `nil` |
|
||||
|
||||
@@ -7,8 +7,11 @@ metadata:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- if .Values.metrics.enabled }}
|
||||
annotations:
|
||||
{{- if .Values.service.annotations }}
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
{{- if and (.Values.metrics.enabled) (.Values.metrics.annotations) }}
|
||||
{{ toYaml .Values.metrics.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -133,6 +133,7 @@ metrics:
|
||||
## Configure the service
|
||||
## ref: http://kubernetes.io/docs/user-guide/services/
|
||||
service:
|
||||
annotations: {}
|
||||
## Specify a service type
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user