Commit Graph

108 Commits

Author SHA1 Message Date
Nguyễn Đức Chiến
415a515a7c [bitnami/mysql] Allow custom name of database role (#11167)
* Allow custom name of database role

Signed-off-by: Nobi <nobi@nobidev.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Bump for mysql chart

Signed-off-by: Nobi <nobi@nobidev.com>

Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
2022-07-18 11:47:06 +02:00
Miguel Ruiz
695579c87d [bitnami/mysql] Run initscripts on secondary nodes (#10994)
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
2022-07-04 12:56:32 +02:00
Yaser Kalali
af707401f8 [bitnami/mysql] Make auth.database Optional (#10553)
* [bitnami/mysql] Make auth.database optional

Make auth.database optional

Signed-off-by: yaser <yaserkalali.work@gmail.com>

* [bitnami/mysql] Make auth.database optional

Make auth.database optional

Signed-off-by: yaser <yaserkalali.work@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
2022-06-22 09:50:22 +02:00
Miguel Ruiz
6a85f6ca79 [bitnami/mysql] Remove primary/secondary labels from antiAffinity settings (#10527)
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
2022-06-09 12:25:38 +02:00
Carlos Rodríguez Hernández
099286ae7a [bitnami/several] Replace base64 --decode with base64 -d (#10495)
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-05-30 19:16:36 +02:00
咸鱼老罗
286c3f10ce [bitnami/mysql] add prometheusrule (#10259)
* mysql add prometheusrule

Signed-off-by: lusson <lusson@foxmail.com>

* code style update

Signed-off-by: lusson <lusson@foxmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2022-05-25 09:09:48 +02:00
Vũ Quốc Phong
74e8485b08 [bitnami/mysql] fix mysql slave auth after applying helm (#10378)
Signed-off-by: Vu Quoc Phong <phong.vq.198@gmail.com>
2022-05-24 11:33:29 +02:00
Miguel Ruiz
9ac6cd9eab [bitnami/mysql] Chart standardised (#10046)
* [bitnami/mysql] Chart standardised

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* [bitnami/mysql] Chart standardised

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Bump Chart.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Fix linting

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update NOTES

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Quote namespace

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* [bitnami/mysql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2022-05-11 09:18:58 +02:00
Jose Antonio Carmona
5918fa4e39 [bitnami/mysql] Fix missing env var in NOTES (#9911)
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
2022-04-26 11:51:50 +02:00
Yi Siqi
62e2f92f80 [bitnami/mysql] remove empty password validation (#9640)
* remove empty password validation

Signed-off-by: Yi Siqi <yisq@me.com>

* bump version

Signed-off-by: Yi Siqi <yisq@me.com>
2022-04-05 10:10:23 +02:00
Yi Siqi
2fff81ca29 [bitnami/mysql] Support templating in initdbScriptsConfigMap (#9594)
* Support overriding mysql init db configmap by parent chart.

Signed-off-by: Yi Siqi <yisq@me.com>

* bump version

Signed-off-by: Yi Siqi <yisq@me.com>

* bump version

Signed-off-by: Yi Siqi <yisq@me.com>
2022-04-04 11:25:16 +02:00
Mikkel Kroman
f98d8a53d3 [bitnami/mysql] Support templating in auth.existingSecret (#9612)
Signed-off-by: Mikkel Kroman <mikkel.kroman@omnigame.dk>
2022-03-30 12:36:51 +02:00
Juan Ariza Toledano
51e5aafc17 [bitnami/mysql] Do not hardcode PDB apiVersion (#9106) 2022-02-21 11:47:56 +01:00
Carlos Rodríguez Hernández
58077af58f [bitnami/several] Fix issue with quote when followed by }} (#8561)
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-01-04 10:17:33 +01:00
Greg
b1aae55a4c [bitnami/mysql] Prevent introduction of leading newline character in predefined password and replicationPassword (#8546)
* Prevent introduction of leading newline character in predefined `auth.password` and `auth.replicationPassword`

Introducing change: 7238fbe138

*Issue*
Leading newline character added to predefined `auth.password` and `auth.replicationPassword`.

*Reproduction*
Reproduced by predefined values for `auth.password` and `auth.replicationPassword` and visible in container logs with `image.debug: true`:

`helm install my-release bitnami/mysql --set auth.password=9fXymk61OT,auth.replicationPassword=E6dMqifzrh,auth.username=my_user,image.debug=true`

Log file:
```
mysql 01:31:24.36 DEBUG ==> Configuring root user credentials
mysql 01:31:24.37 DEBUG ==> Executing SQL command:
-- create admin user
create user 'root'@'%' identified by "wf3vWj0zlO";
grant all on *.* to 'root'@'%' with grant option;
flush privileges;
mysql 01:31:24.53 DEBUG ==> removing the unknown user
mysql 01:31:24.54 DEBUG ==> Executing SQL command:
select Host from user where User='';
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:24.56 DEBUG ==> creating database user \'my_user\'
mysql 01:31:24.57 DEBUG ==> Executing SQL command:
create user if not exists 'my_user'@'%' identified by "
9fXymk61OT";
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:24.65 DEBUG ==> Removing all other hosts for the user
mysql 01:31:24.68 DEBUG ==> Executing SQL command:
select Host from user where User='my_user' and Host!='%';
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:24.71 DEBUG ==> Creating database my_user
mysql 01:31:24.72 DEBUG ==> Executing SQL command:
create database if not exists `my_database` ;
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:24.86 DEBUG ==> Providing privileges to username my_user on database my_database
mysql 01:31:24.90 DEBUG ==> Executing SQL command:
grant all on `my_database`.* to 'my_user'@'%';
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:25.08 INFO  ==> Configuring replication in master node
mysql 01:31:25.11 DEBUG ==> Configure replication user credentials
mysql 01:31:25.20 DEBUG ==> Executing SQL command:
create user 'replicator'@'%' identified with 'mysql_native_password' by "
E6dMqifzrh";
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql 01:31:25.43 DEBUG ==> Executing SQL command:
grant REPLICATION SLAVE on *.* to 'replicator'@'%' with grant option;
flush privileges;
```

* [bitnami/mysql] bump chart version
2022-01-03 15:06:02 +01:00
Yi Siqi
7238fbe138 [bitnami/mysql] lookup existing secrets (#8504)
* lookup existing secret

* refine naming
2021-12-28 11:46:33 +01:00
bbaudelet
0404b1aa52 [bitnami/cassandra,etcd,influxdb,metallb,mysql,postgresql,postgresql-ha,redis] Align networkpolicy (#8336) 2021-12-09 13:01:40 +01:00
Scott Chang
48e8e9c7c4 [bitnami/mysql] add commonAnnotations to initialization-configmap (#8309)
* add commonAnnotations to initialization-configmap

* bump mysql chart version

Co-authored-by: chasc05 <scott.chang@ca.com>
2021-12-09 10:49:11 +01:00
Carlos Rodríguez Hernández
a6751cdd33 [bitnami/several] Add chart info to NOTES.txt (#7889) 2021-10-22 16:04:39 +02:00
Carlos Rodríguez Hernández
9711a33c6e [bitnami/several] Change pullPolicy for bitnami-shell image (#7852)
* [bitnami/several] Change pullPolicy for bitnami-shell image
* Add rolling tag check in the NOTES.txt
* Fix non-standard names
* Use macro when defined
* Update Chart.yaml
* Fix typo
2021-10-19 14:38:37 +02:00
Miguel Ángel Cabrera Miñagorri
6e24065bcc [bitnami/mysql] Fix Mysql root password in NOTES.txt (#7395) 2021-09-14 10:34:35 +02:00
Carlos Rodríguez Hernández
f1344b0361 [bitnami/several] Add diagnostic mode (#7012)
* Rebase master

* Fix typo in statefulset

* Include lifecycle in the if statement

* Include metrics container

* Update README

* Rebase master

* Rebase master

* Rebase master

* Add diagnostic mode to etcd

* Add diagnostic mode to fluentd

* Add diagnostic mode to grafana-tempo

* Add diagnostic mode to haproxy

* Rebase master

* Fix values location and README

* Add diagnostic mode to the scaffolding

* Add diagnostic mode to kafka

* Add diagnostic mode to kong

* Fix linter in ejbca

* Add diagnostic mode to logstash

* Add diagnostic mode to mariadb

* Add diagnostic mode to mongodb-sharded

* Fix BITNAMI_DEBUG in galera

* Add diagnostic mode to mysql

* Add diagnostic mode to nats

* Add diagnostic mode to postgresql

* Add diagnostic mode to rabbitmq

* Add diagnostic mode to redis-cluster

* Add diagnostic mode to spark

* Add diagnostic mode to wordpress

* Add diagnostic mode to zookeeper

* Fix/Add BITNAMI_DEBUG in kong, nats, and spark

* Update READMEs

* Unify 'Please be patient...' sentence in NOTES

* Bump galera version
2021-07-27 13:10:01 +02:00
bynare
538b5fd251 [bitnami/mysql] add networkpolicy for primary (#6720) (#6734)
* [bitnami/mysql] add networkpolicy for primary (#6720)

* [bitnami/mysql] genericise networkpolicy (#6720)

so it applies to both primary and secondary

* [bitnami/mysql] bump chart version (#6720)
2021-06-28 16:51:16 +02:00
Chris Gianelloni
586c399ede [bitnami/mysql] Remove annotations from headless services (#6603)
Remove the service-specific primary and seconday annotations from the
headless Service resources used by the StatefulSets. This retains the
common annotations.

This allows for use of things like external-dns on the primary and
secondary Service resources. Fixes #6576

Signed-off-by: Chris Gianelloni <cgianelloni@applause.com>
2021-06-10 10:48:12 +02:00
yelhouti
75f4494c85 feat: mysql: add startupProb (#6507)
Signed-off-by: Youssef El Houti <youssef.elhouti@gmail.com>
2021-06-02 10:17:11 +02:00
dharmendra kariya
ee5597c86b Update NOTES.txt (#6292)
* Update NOTES.txt

* Add namespace to helm upgrade command and unify format --namespace vs -n

Co-authored-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2021-05-05 10:28:35 +02:00
Maninder Singh
a57bce06d6 [bitnami/mysql] Adding support to add the label passed using podLabels tags for primary or secondary (#5773)
* #5562

* #5562

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* #5662

* Removing trailing spaces

* Making suggested changes

* Making suggested changes

* Removing Pod label for pdb

* Removing pod label from services

* Removing pod label for service

* Removing pod label for pdb

* Removing pod label from Service

* Removing pod label for service

* Updating minor version
2021-03-18 09:24:24 +01:00
Juan Ariza Toledano
71fb99f541 [bitnami/*] Use common macro to define RBAC apiVersion (#5585) 2021-02-22 17:37:32 +01:00
Fatih Şentürk
160d31ff2c [bitnami/mysql] remove unnecessary bracket at NOTES.txt (#5490)
* Update NOTES.txt

remove unnecessary brackets

* Update Chart.yaml

Co-authored-by: Javier J. Salmerón-García <jsalmeron@bitnami.com>
2021-02-15 16:21:56 +01:00
antonmatsiuk
e16aa93a07 bitnami/mysql: add externalTrafficPolicy to service type LoadBalancer (#5498) 2021-02-15 11:49:07 +01:00
Javier J. Salmerón-García
8176887a47 [bitnami/mysql] Add hostAlias (#5275) 2021-01-28 09:59:29 +01:00
randreev1321
9a447d728b [bitnami/mysql] Fix of missing extraDeploy template. (#5042)
* Fix of missing `extraDeploy` template.

* Fix of missing `extraDeploy` template.
2021-01-15 15:38:36 +01:00
Abdulrahman Khalil
90f2109058 add annotations to volumeClaimTemplates in MySQL (#4660) 2020-12-10 18:23:49 +01:00
Daniel Arteaga
2cf5a12ff7 [bitnami/mysql] feat: add headless services and fix a helper (#4554)
* [bitnami/mysql] feat: add headless services

Signed-off-by: darteaga <darteaga@vmware.com>

* fix(mysql): use of a wrong template name in mysql.initdbScriptsCM

* fix: missing space in template

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>
2020-12-09 15:50:33 +01:00
Mikael Bergemalm
5f0b406aa6 [bitnami/mysql] Fix: remove added pass (#4601)
Signed-off-by: Mikael Bergemalm <mbergemalm@gmail.com>
2020-12-04 14:00:03 +01:00
Mikael Bergemalm
a4b07dee17 [bitnami/mysql] Support Vault secrets (#4580)
Adds support for using custom password files. Example usecase is Hashicorp Vault.

Signed-off-by: Mikael Bergemalm <mbergemalm@gmail.com>
2020-12-03 10:35:07 +01:00
Juan Ariza Toledano
36c62d976c [bitnami/mysql] New major version (#4501) 2020-11-27 16:11:32 +01:00
swbsf
9058d85793 [bitnami/mysql] Adding annocations to service account (#4357)
* Adding annotations on MySQL sa creation.

* bump version

* Adding documentation.

* Bump correct version.

* semver compliant version.
2020-11-16 18:06:01 +01:00
Andrés Bono
c0df593189 [bitnami/mysql] Add debug to slave statefulset (#3099)
* [bitnami/mysql] Add debut to slave statefulset

Signed-off-by: Andrés Bono <andresbono@vmware.com>

* Bump chart version

Signed-off-by: Andrés Bono <andresbono@vmware.com>
2020-07-13 10:48:09 +02:00
Marcos Bjoerkelund
219f1cdec6 Rename .yml extension to .yaml
Related: https://github.com/bitnami/charts/pull/2710
2020-06-02 13:39:08 +02:00
Alex Laurent
eb4e9f8750 [bitnami/mysql] Use existingSecret value as the secret's name (#2675)
* [bitnami/mysql] Use existingSecret value as the secret's name

* Update existingSecret description in the README
2020-05-28 11:26:01 +02:00
vinhngle
d926ce8937 [bitnami/mysql] fix bug chart never use existing secret (#2621)
* fix bug chart never use existed secret

If we use values.yaml/values-production.yaml as a config template and enable existingSecret, it will not work because wrong condition in secrets.yaml

* bump version to 6.13.1

* Merge master and update chart version

* [bitnami/mysql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Marcos Bjoerkelund <marcos@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-05-22 22:33:01 +02:00
Javier J. Salmerón-García
6845d20ba1 [bitnami/mysql] Set different nodePorts for master and slave. (#2579)
* [bitnami/mysql] Set different nodePorts for master and slave.

* Change readme

* [bitnami/mysql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-05-14 10:03:57 +02:00
Javier J. Salmerón-García
646695d382 [bitnami/mariadb,mysql,mariadb-galera] Add extraEnvVars support (#2480)
* [bitnami/mariadb,mysql,mariadb-galera] Add extraEnvVars support

* [bitnami/mariadb] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/mysql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/cassandra] Allow to specify maxUnavailable pods (#2457)

* [bitnami/cassandra] Allow to specify maximumUnavailable pods

* Update values-production.yaml

* Update values.yaml

* Update values.yaml

* Update values-production.yaml

* [bitnami/cassandra] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/dokuwiki] Release 6.0.17 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/airflow] add podManagementPolicy support for workers (#2420)

* airflow: add podManagementPolicy support for workers

* [bitnami/airflow]: add podManagementPolicy to values files

* Fix if statement

CI/CD was failing because:
```
Error: parse error at (airflow/templates/statefulset-worker.yaml:12): function “Values” not defined
```

* [bitnami/airflow]: fix incorrect if statement

* Update values-production.yaml

* Update values.yaml

* [bitnami/airflow] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/opencart] Release 7.0.15 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/zookeeper] fix() typo (#2481)

* fix() typo

* [bitnami/zookeeper] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/fluentd] Release 1.0.5 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/phabricator] Release 9.1.2 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/minio] Release 3.3.8 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/mongodb] add storageClass field for secondary in persistence (#2407)

* [bitnami/mongodb] add storageClass definition for secondaries

* bump mongodb chart version

* [bitnami/mongodb] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Javier J. Salmerón-García <jsalmeron@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/rabbitmq] fix extraPorts indentation (#2496)

* fix extraPorts indentation

* bump chart version

* [bitnami/rabbitmq] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/redis-cluster] Fix metrics secret volume mount path (#2489)

* Fix metrics secret volume mount path

* Bump chart version

* [bitnami/redis-cluster] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>

* Fix Zookeeper Readme (#2486)

* Revert galera

Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: iamsudip <iamsudip@programmer.net>
Co-authored-by: Onur YALAZI <oyalazi@ptc.com>
Co-authored-by: golgoth31 <golgoth31@users.noreply.github.com>
Co-authored-by: Pierre Chalamet <pierre@chalamet.net>
Co-authored-by: Juliusz Marciniak <juliusz.marciniak+github@gmail.com>
Co-authored-by: Jake Sylvestre <jakesyl@gmail.com>
2020-05-04 12:16:38 +02:00
Sven
dd54b15ed2 Add serviceAccount.create and serviceAccount.name to mysql chart (#1982)
Signed-off-by: Sven Tschui <sventschui@gmail.com>
2020-03-23 10:09:29 +01:00
Juan Ariza Toledano
9cfaa9a798 fix:issues #2001 (#2002)
* fix:issues #2001
2020-03-05 08:12:08 +01:00
Juan Ariza Toledano
bb1eeb6be7 [bitnami/mysql] Add parameter to configure container security policies (#1994)
* [bitnami/mysql] Add parameter to configure container security policies

Signed-off-by: juan131 <juan@bitnami.com>
2020-03-02 13:33:08 +01:00
Yann Ponzoni
964f0bccd3 [bitnami/mysql] Fixed nodePort definition (typo) (#1981) 2020-02-27 10:03:12 +01:00
mayanksingh
96f2e33ddd [bitnami/mysql] Fix for initContainer volume-permissions (#1959)
* Fix for initContainer volume-permissions

The initContainer fails if existing volume claim is provided and volume permission is enabled, as volumeMounts name is not found.

* Updated volumeMount name with "data"

To maintain sync in volumeMount Name across the template, changing the specs.volumes[].name and volumeMounts[].name to "data" .

* Added same fix for slave-statefulset.yaml

* Bumped the chart version to 6.9.1
2020-02-25 09:44:54 +01:00
OmriHarary
fbd69f5ffd [bitnami/mysql] Match init script support to bitnami/mariadb (#1947)
* Updates to mysql chart to have equivalent init script support to mariadb chart

* Updated README with new init script variables

Co-authored-by: Marcos Bjoerkelund <marcosbc@users.noreply.github.com>
2020-02-19 11:00:10 +01:00