feat: update mysql to v9
This commit is contained in:
parent
fa3d9e9500
commit
b1a501d315
5 changed files with 32 additions and 31 deletions
|
@ -3,13 +3,13 @@ dependencies:
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 6.3.2
|
version: 6.3.2
|
||||||
- name: mysql
|
- name: mysql
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 6.14.10
|
version: 9.4.5
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
||||||
version: 10.3.17
|
version: 10.3.17
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 11.4.2
|
version: 11.4.2
|
||||||
digest: sha256:10516937fb2fd61045984a8d875b22c79dc80b4b6bad02c86e044dd2b7898983
|
digest: sha256:6200d37686cc99137552a08e744535c86f613fe54e1a4ff9e5da932dbb2184ee
|
||||||
generated: "2023-01-03T22:04:32.6044332+01:00"
|
generated: "2023-01-03T22:26:33.482759+01:00"
|
||||||
|
|
|
@ -29,8 +29,8 @@ dependencies:
|
||||||
version: 6.3.2
|
version: 6.3.2
|
||||||
condition: memcached.enabled
|
condition: memcached.enabled
|
||||||
- name: mysql
|
- name: mysql
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 6.14.10
|
version: 9.4.5
|
||||||
condition: mysql.enabled
|
condition: mysql.enabled
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
|
||||||
|
|
18
README.md
18
README.md
|
@ -747,15 +747,15 @@ gitea:
|
||||||
|
|
||||||
### MySQL
|
### MySQL
|
||||||
|
|
||||||
| Name | Description | Value |
|
| Name | Description | Value |
|
||||||
| ------------------------ | ------------------------------------------------------------------ | ------- |
|
| ----------------------------------- | ------------------------------------------------------------------ | ------- |
|
||||||
| `mysql.enabled` | Enable MySQL | `false` |
|
| `mysql.enabled` | Enable MySQL | `false` |
|
||||||
| `mysql.root.password` | Password for the root user. Ignored if existing secret is provided | `gitea` |
|
| `mysql.auth.database` | Name for new database to create. | `gitea` |
|
||||||
| `mysql.db.user` | Username of new user to create. | `gitea` |
|
| `mysql.auth.username` | Username of new user to create. | `gitea` |
|
||||||
| `mysql.db.password` | Password for the new user.Ignored if existing secret is provided | `gitea` |
|
| `mysql.auth.password` | Password for the new user.Ignored if existing secret is provided | `gitea` |
|
||||||
| `mysql.db.name` | Name for new database to create. | `gitea` |
|
| `mysql.auth.rootPassword` | Password for the root user. Ignored if existing secret is provided | `gitea` |
|
||||||
| `mysql.service.port` | Port to connect to MySQL service | `3306` |
|
| `mysql.primary.service.ports.mysql` | Port to connect to MySQL service | `3306` |
|
||||||
| `mysql.persistence.size` | PVC Storage Request for MySQL volume | `10Gi` |
|
| `mysql.primary.persistence.size` | PVC Storage Request for MySQL volume | `10Gi` |
|
||||||
|
|
||||||
### MariaDB
|
### MariaDB
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "mysql.dns" -}}
|
{{- define "mysql.dns" -}}
|
||||||
{{- printf "%s-mysql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.mysql.service.port | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-mysql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.mysql.primary.service.ports.mysql | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "mariadb.dns" -}}
|
{{- define "mariadb.dns" -}}
|
||||||
|
|
31
values.yaml
31
values.yaml
|
@ -426,24 +426,25 @@ postgresql:
|
||||||
## @section MySQL
|
## @section MySQL
|
||||||
#
|
#
|
||||||
## @param mysql.enabled Enable MySQL
|
## @param mysql.enabled Enable MySQL
|
||||||
## @param mysql.root.password Password for the root user. Ignored if existing secret is provided
|
## @param mysql.auth.database Name for new database to create.
|
||||||
## @param mysql.db.user Username of new user to create.
|
## @param mysql.auth.username Username of new user to create.
|
||||||
## @param mysql.db.password Password for the new user.Ignored if existing secret is provided
|
## @param mysql.auth.password Password for the new user.Ignored if existing secret is provided
|
||||||
## @param mysql.db.name Name for new database to create.
|
## @param mysql.auth.rootPassword Password for the root user. Ignored if existing secret is provided
|
||||||
## @param mysql.service.port Port to connect to MySQL service
|
## @param mysql.primary.service.ports.mysql Port to connect to MySQL service
|
||||||
## @param mysql.persistence.size PVC Storage Request for MySQL volume
|
## @param mysql.primary.persistence.size PVC Storage Request for MySQL volume
|
||||||
mysql:
|
mysql:
|
||||||
enabled: false
|
enabled: false
|
||||||
root:
|
auth:
|
||||||
|
database: gitea
|
||||||
|
username: gitea
|
||||||
password: gitea
|
password: gitea
|
||||||
db:
|
rootPassword: gitea
|
||||||
user: gitea
|
primary:
|
||||||
password: gitea
|
service:
|
||||||
name: gitea
|
ports:
|
||||||
service:
|
mysql: 3306
|
||||||
port: 3306
|
persistence:
|
||||||
persistence:
|
size: 10Gi
|
||||||
size: 10Gi
|
|
||||||
|
|
||||||
## @section MariaDB
|
## @section MariaDB
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue