Commit Graph
203 Commits
Author SHA1 Message Date
rjasper-frohraum a5a91f71aa [stable/redis] Parameterize sysctls (#16897)
* [stable/redis] Parameterize sysctls

The securityContext.sysctls is an optional value which allows to set
the sysctls of master and slave pods. This is helpful to increase the
net.core.somaxconn parameter.

Example:

# in values.yaml
securityContext:
  enabled: true
  sysctls:
  - name: net.core.somaxconn
    value: "10000"

Signed-off-by: Rico Jasper <rico.jasper@frohraum.de>

* [stable/redis] Add commented sysctl settings to values-production.yaml

Signed-off-by: Rico Jasper <rico.jasper@frohraum.de>

* [stable/redis] Describe new sysctls setting

Signed-off-by: Rico Jasper <rico.jasper@frohraum.de>

* [stable/redis] Bump chart version to 9.2.2

Signed-off-by: Rico Jasper <rico.jasper@frohraum.de>
2019-10-01 08:35:35 -07:00
Alejandro Moreno e413679993 Show correct secret name (#17541)
Signed-off-by: Alejandro Moreno <amoreno@bitnami.com>
2019-09-30 01:47:37 -07:00
DJ Mountney ea9aa8ce6b [stable/redis] Add existingSecretPasswordKey setting for users (#16360)
* Add existingSecretPasswordKey setting for users

Allowing users to specify which key within the secret contains the
password

Signed-off-by: DJ Mountney <david@twkie.net>

* Bump the redis chart version to 9.2.0

Signed-off-by: DJ Mountney <david@twkie.net>
2019-09-23 11:49:30 -07:00
Juan Ariza Toledano ddf94be24a [stable/redis] Update sts apiVersion to 'apps/v1' - Mandatory for K8s 1.16 (#17280)
* [stable/redis] Update sts apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: juan131 <juan@bitnami.com>

* [stable/redis] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-09-20 09:53:47 -07:00
Juan Ariza Toledano 2a8bbb4a45 [stable/redis] Allow creating a cluster without initial slave replicas (#17174)
* [stable/redis] Allow creating a cluster without initial slave replicas

Signed-off-by: juan131 <juan@bitnami.com>

* [stable/redis] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-09-17 04:20:24 -07:00
Alejandro Moreno ba39474fa0 Fix svc for redis with sentinel (#17095)
Signed-off-by: Alejandro Moreno <amoreno@bitnami.com>
2019-09-13 02:22:29 -07:00
Joe Jiang 089567cd47 fix: Add metrics labels and annotations only when enabled (#17060)
Signed-off-by: Joe Jiang <happiness9721@gmail.com>
2019-09-12 07:10:27 -07:00
Miguel Ángel Cabrera Miñagorri 4e48d6e9f5 [stable/redis] Add miguelaeh to OWNERS (#17014)
* [stable/redis] Add miguelaeh to OWNERS

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Update Chart.yaml

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-09-10 22:17:24 -07:00
Bitnami Bot c3fad1026c [stable/redis] Release 9.1.7 updating components versions (#16900)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-09-05 07:29:09 -07:00
qbast 501faea6f3 Egress network policy for redis cluster (#16833)
Signed-off-by: Jakub Stachowski <jakub@augnet.co.uk>
2019-09-05 04:01:10 -07:00
Bitnami Bot be93b1c858 [stable/redis] Release 9.1.5 updating components versions (#16754)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-09-02 11:09:43 -07:00
Carlos Rodríguez Hernández b8eb647c4b [stable/redis] Use stretch as minideb tag (#16723)
* [stable/redis] Use buster as minideb tag

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Use stretch instead of buster to be consistent across containers

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Use stretch instead of latest in helpers.tpl

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-09-02 02:39:41 -07:00
Miguel Ángel Cabrera Miñagorri 82ab2440d5 [stable/redis] Adapt redis exporter initialization (#16613)
* Adapt redis exporter initialization as it doesn't support REDIS_PASSWORD_FILE anymore

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Update README.md

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Update taking password from existingSecret on metrics container

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-08-27 05:14:39 -07:00
Alejandro Moreno 990799145f Fix 'storageClass' macros (#16556)
Signed-off-by: Alejandro Moreno <amoreno@bitnami.com>
2019-08-22 09:54:43 -07:00
Miguel Ángel Cabrera Miñagorri 5ef4e566b0 [stable/redis] Refactor StorageClass template to support old Helm versions (#16480)
* Refactor StorageClass template to support old Helm versions

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* [stable/redis] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-08-21 07:37:28 -07:00
Miguel Ángel Cabrera Miñagorri 9070b815f9 [stable/redis] Add global StorageClass to redis (#16424)
Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-08-20 04:35:33 -07:00
DJ Mountney e13bb2a7e9 [stable/redis] Allow templates in user-provided configmap values (#16363)
* Allow templates in user-provided configmap values

Render configmap, master.configmap, slave.configmap, and
sentinel.configmap using the tpl function.

This allows us to do things like set the dbfilename to the release name
And is useful for charts that use redis as a subchart and want to
provide additional redis settings for users to tune.

Signed-off-by: DJ Mountney <david@twkie.net>

* Update readme to reference values now parsed as templates

Signed-off-by: DJ Mountney <david@twkie.net>
2019-08-19 03:19:29 -07:00
Bitnami Bot 4b6522cb1f [stable/redis] Release 9.0.2 updating components versions (#16242)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-08-12 04:33:11 -07:00
Andrii Nasinnyk 4d45a157d8 [stable/chart] sentinel on master cannot start (#15951)
* fix(stable/redis): sentinel on master cannot start if password not use

Signed-off-by: Andrii Nasinnyk <anasinnyk@macpaw.com>

* chore(stable/redis): increase chart version

Signed-off-by: Andrii Nasinnyk <anasinnyk@macpaw.com>
2019-07-30 03:20:50 -07:00
Javier J. Salmerón-García a9808e049d [stable/redis] Move metrics from deployment to sidecar (#15713)
* [stable/redis] Move metrics from deployment to sidecar

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Use bitnami/redis-exporter container

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Change readme

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update tags

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Restore metrics service

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Fix typo

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Restore metrics service section in README

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update ci test metrics tag

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
2019-07-24 09:46:17 -07:00
Carlos Rodríguez Hernández 1dfd2a6efc [stable/redis] Implement again "Standardize 'fullname' and 'name' macros" (#15650)
* [stable/redis] Implement again "Standardize 'fullname' and 'name' macros"

This reverts commit 9cb0bdf566.
Implement #15424 bumping a major version after #15604
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Bump patch version

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-07-18 07:34:23 -07:00
Carlos Rodríguez Hernández 9cb0bdf566 Revert "[stable/redis] Standardize 'fullname' and 'name' macros (#15424)" (#15604)
This reverts commit 2205660f76.

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-07-17 08:25:11 -07:00
Josh Bryans 347216ed8b [stable/redis] Allow templated secret name (#15542)
* [Redis] Allow templated secret name

Signed-off-by: Josh Bryans <joshhsoj1902@gmail.com>

* Update Chart.yaml

Signed-off-by: Josh Bryans <joshhsoj1902@gmail.com>
2019-07-16 02:23:25 -07:00
Cédric de Saint Martin d7999979df [stable/redis] Fix (again) extraFlags. (#11579)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2019-07-14 05:33:03 -07:00
Juan Ariza Toledano 2205660f76 [stable/redis] Standardize 'fullname' and 'name' macros (#15424)
Signed-off-by: juan131 <juan@bitnami.com>
2019-07-11 09:03:32 -07:00
Sameer Naik bbacfbdace [stable/redis] allow user to supply additional configurations for master/slave and sentinel nodes (#15343)
ref #14515

Signed-off-by: Sameer Naik <sameer@bitnami.com>
2019-07-10 01:26:24 -07:00
Miguel Ángel Cabrera Miñagorri 1052ccf663 [stable/redis] Add support to execute Redis as root (#15276)
* [stable/redis] Add support to execute Redis as root

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Change Redis hardcoded data directory to the value at the Values.yaml when changing permissions deploying as root

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-07-08 03:22:34 -07:00
Naseem 60c77b570b [stable/redis] exporter to 1.0.3 (#15302)
* exporter to 1.0.3

Signed-off-by: Naseem <naseemkullah@gmail.com>

* Add some notes

Signed-off-by: Naseem <naseemkullah@gmail.com>
2019-07-07 23:24:34 -07:00
Sameer Naik 1adb31cb7e [stable/redis] fix master joining cluster as slave (#15258)
Fixes #15115

Signed-off-by: Sameer Naik <sameer@bitnami.com>
2019-07-05 03:52:36 -07:00
Juan Ariza Toledano a8332d6cdf [stable/redis] Collect metrics from sentinels when enabled (#15156)
* [stable/redis] Collect metrics from sentinels when enabled

Signed-off-by: juan131 <juan@bitnami.com>

* Rebase branch from master

Signed-off-by: juan131 <juan@bitnami.com>
2019-07-03 06:26:31 -07:00
Beni Ben zikry 444f959fd6 [stable/redis] Add --no-auth-warning to health checks (#15100)
* Added --no-auth-warning to redis-cli calls in health-configmap

Signed-off-by: Beni Ben Zikry <bbenzikry@gmail.com>

* update tag for redis-lib-values

Signed-off-by: Beni Ben Zikry <bbenzikry@gmail.com>

* bump chart version

Signed-off-by: Beni Ben Zikry <bbenzikry@gmail.com>

* added no-auth-warning flag on top of new probe changes

Signed-off-by: Beni Ben Zikry <bbenzikry@gmail.com>
2019-07-03 02:36:43 -07:00
Bastian Hofmann d6cdc8f09f [stable/redis] Improve liveness probe so that redis is not restarted while it is still loading its dataset into memory (#15093)
On larger databases this can take more than just the initial probe delay. During this time redis will not answer the ping command with pong, but with loading. Of course the container should not be marked as ready, but it also should not restart which results in redis never starting successfully.

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2019-06-28 10:31:38 -07:00
Yitaek Hwang bd46cc489e [stable/redis] Allow slave pods to connect to master when networkPolicy is enabled (#15082)
* Adding network policy label for slave pods

Signed-off-by: YITAEK HWANG <yitaek@gmail.com>

* [stable/redis] fixing ordering of if statements in networkpolicy

Signed-off-by: YITAEK HWANG <yitaek@gmail.com>
2019-06-27 21:29:19 -07:00
Sameer Naik daaff5ef55 [stable/redis] remove manual discovery of sentinels (#15005)
redis-sentinel auto-discovers all the slaves running in the cluster, we only need to specify the masters to monitor.

Fixes #14766 where in the cluster goes into a error condition when the master node and one or more slave nodes are re-created at the same time.

Signed-off-by: Sameer Naik <sameersbn@vmware.com>
2019-06-24 00:19:55 -07:00
Miguel Ángel Cabrera Miñagorri e085a2d272 Fix Redis configmap error with clusterDomain (#14955)
Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-06-21 02:18:35 -07:00
Miguel Ángel Cabrera Miñagorri f8a6ecb0f1 Add masterAuth property to redis master (#14804)
Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
2019-06-17 09:46:13 -07:00
Joseda Rios ef8497261d [stable/redis] Bump redis and redis-sentinel tags (#14817)
* Bump redis and redis-sentinel tags

Signed-off-by: Joseda Rios <josriolop@gmail.com>

* Bump ci tags

Signed-off-by: Joseda Rios <josriolop@gmail.com>
2019-06-14 07:42:22 -07:00
Carlos Rodríguez Hernández bf1174b2e9 Unify and document production values (#14666)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-06-10 19:42:16 -07:00
Bitnami Bot a406b40a0e stable/redis: update to 5.0.5 (#14639)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-06-10 04:59:06 -07:00
Javier J. Salmerón-García 487dc536cd [stable/redis] (#14461)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
2019-06-04 11:04:18 -07:00
Carlos Rodríguez Hernández 0b567ce0b7 [stable/redis] Change regex looking for rolling tags (#14262)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-05-29 08:23:19 -07:00
Carlos Rodríguez Hernández d28f244ff6 [stable/redis] Use immutable tags (#14195)
* Bump chart version

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* [stable/redis] Use immutable tags

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-05-28 11:49:00 -07:00
kngin 1da2075171 bug fix : Template error when Slave persistence is set to false #14115 (#14151)
Signed-off-by: kngin <someonegg@163.com>
2019-05-27 05:33:51 -07:00
Serhiy Kalinets 96d4f65e11 [stable/redis] fixing slave configuration when password is disabled (#14120)
Signed-off-by: Serhiy Kalinets <kalinets@gmail.com>
2019-05-27 00:59:53 -07:00
Bitnami Bot 7ef678b8b6 stable/redis: update to 5.0.5 (#13950)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-05-18 14:13:11 -07:00
Naseem b1543cdb4e [stable/redis] Updating redis img to 5.0.4 (#13477)
* Updating redis img to 5.0.4

Signed-off-by: Naseem <naseemkullah@gmail.com>

* Fix version

Signed-off-by: Naseem <naseemkullah@gmail.com>
2019-05-18 12:41:13 -07:00
Andrés Bono d2c1604578 [stable/redis] Fix parameters table (#13945)
Signed-off-by: Andrés Bono <andresbonojimenez@gmail.com>
2019-05-17 03:08:06 -07:00
Juan Ariza Toledano 851011ac4c [stable/redis] Enable AOF by default (#13541)
Signed-off-by: juan131 <juan@bitnami.com>
2019-05-06 06:55:41 -07:00
Naseem 78586ea0aa Bump chart version (#13479)
Signed-off-by: Naseem <naseemkullah@gmail.com>
2019-05-06 05:59:36 -07:00
Matt Calvert 8353ed63a4 [stable/redis] Enable Kubernetes Cluster DNS domain to be overridden (#13430)
* New `kubernetesDNSDomain` variable added to permit Cluster DNS domain to be overridden

Signed-off-by: Matt Calvert <matt.calvert@ukfast.co.uk>

* `kubernetesDNSDomain` variable renamed to `clusterDomain`

Signed-off-by: Matt Calvert <matt.calvert@ukfast.co.uk>

* Version bumped to 7.0.2 as 7.0.1 release exists

Signed-off-by: Matt Calvert <matt.calvert@ukfast.co.uk>
2019-05-06 04:57:38 -07:00