Commit Graph
133 Commits
Author SHA1 Message Date
Javier J. Salmerón-García 4ce7483999 [stable/redis] Allow mounting secrets as a file (#10216)
* [stable/redis] Allow mounting secrets as a file

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

* Adapt metrics deployment

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

* Fix typo

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

* Fix issue with volumes

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

* Bump chart

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2019-01-11 05:05:33 -08:00
Renat Galiev 474e325078 [stable/redis] Support defining PriorityClass (#10238)
* [stable/redis] Support defining PriorityClass

Signed-off-by: Renat Galiev <renat@galiev.net>

* [stable/redis] Support defining PriorityClass

updated values-production.yaml

Signed-off-by: Renat Galiev <renat@galiev.net>
2019-01-09 02:13:48 -08:00
Cédric de Saint Martin d8aa6b5109 [stable/redis] Upgrade exporter to 0.25.0. (#10398)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2019-01-04 07:00:23 -08:00
Jacob LeGrone 7e34490437 [stable/redis] Fix redis extra flags (#10388)
* fix(stable/redis): use extraFlags values

Signed-off-by: Jacob LeGrone <git@jacob.work>

* chore(stable/redis): keep ci values in sync with defaults

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-01-03 12:20:20 -08:00
Dinko Osrecki 6e556e592d [stable/redis] Process template directives in affinity parameters (#10312)
* [stable/redis] Process template directives in affinity parameters

Signed-off-by: Dinko Osrecki <dinko.osrecki@gmail.com>

* [stable/redis] Update README

Signed-off-by: Dinko Osrecki <dinko.osrecki@gmail.com>
2019-01-02 04:32:15 -08:00
Carlos Rodríguez Hernández c24793d146 [stable/redis] Fix typo in README (#10074)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-12-17 09:46:57 -08:00
Bitnami Bot cc362ad771 [stable/redis] Release 5.1.2 (#10002)
* redis: update to `4.0.12`

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

* redis: bump chart appVersion to `4.0.12`

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

* redis: bump chart version to `5.1.2`

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2018-12-14 02:20:15 -08:00
Juan Ariza Toledano 654ade4c40 [stable/redis] Avoid creating a Deployment for a test client to check connectivity with Redis (#9971)
Signed-off-by: juan131 <juan@bitnami.com>
2018-12-13 07:19:30 -08:00
Cédric de Saint Martin 301ac01ba2 [stable/redis] Fix ServiceMonitor to not leak. (#9722)
Previous definition allowed Prometheus to scrape all redis in all namespaces.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-12-05 02:25:21 -08:00
Jacob LeGrone b57cf383eb [stable/redis] support redis docker library image (#7745)
* refactor(stable/redis): support redis docker library image

BREAKING CHANGES:
- `master.args` and `slave.args` are removed. Use `master.command` or
  `slave.command` instead in order to override the image entrypoint,
   or `master.extraFlags` to pass additional flags to `redis-server`.
- `disableCommands` is now interpreted as an array of strings instead
   of a string of comma separated values.
- `master.persistence.path` now defaults to `/data`.

Signed-off-by: Jacob LeGrone <git@jacob.work>

* test(stable/redis): add ci values for base images & configurations

Signed-off-by: Jacob LeGrone <git@jacob.work>
2018-12-04 09:45:03 -08:00
Stanislav Vitkovskiy 6d2e2e08f3 [stable/redis] allowing redis-exporter to talk to redis when NetworkPolicy is enabled (#9687)
* [stable/redis] allowing redis-exporter to talk to redis when NetworkPolicy is enabled

Signed-off-by: Stan Vitkovskiy <stas.vitkovsky@gmail.com>

* [stable/redis] extending NetworkPolicy so that redis-explorer can talk to redis endpoints

Signed-off-by: Stan Vitkovskiy <stas.vitkovsky@gmail.com>
2018-12-03 21:48:42 -08:00
Barry O'Neill 1947fa46fe add metrics servicemonitor to stable/redis (#9281)
* Add prometheus ServiceMonitor for metrics

Signed-off-by: Barry O'Neill <barra.oneill@gmail.com>

* bump chart version

Signed-off-by: Barry O'Neill <barra.oneill@gmail.com>

* PR Feedback

Signed-off-by: Barry O'Neill <barra.oneill@gmail.com>

* Make scraping interval optional

Signed-off-by: Barry O'Neill <barra.oneill@gmail.com>

* Accept version change suggestion

Co-Authored-By: barryoneill <barryoneill@users.noreply.github.com>
Signed-off-by: Barry O'Neill <barra.oneill@gmail.com>
2018-11-22 07:06:03 -08:00
Eric Bailey 923ed54926 [stable/redis] Fix hardcoded serviceName (#9187)
The master Service name is derived from the "redis.fullname" template, which
depends on `{full,}nameOverride`. Prior to this change, if the template
evaluates to anything other than `redis-master`, e.g. if `fullnameOverride` is
set to anything but `redis`, the StatefulSet will be misconfigured.

This change replaces the hardcoded `redis-master` with the appropriate,
override-respecting value, which is the same as `metadata.name` in the master
service template.

Signed-off-by: Eric Bailey <e.bailey@sportradar.com>
2018-11-12 00:00:02 -08:00
Alec Troemel 1827d88ca4 allow specification of update strategy on slaves (#9157)
* allow specification of update strategy on slaves

allow specification of update strategy on slaves, you should be able to specify stuff like maxUnavailable on slave updates. Otherwise, all your slaves may restart while the master is terminating/initializing. If this happens your slaves will be down just as long as the master

Signed-off-by: Alec Troemel <alec@mirusresearch.com>

* version bump

Signed-off-by: Alec Troemel <alec@mirusresearch.com>

* update docs

Signed-off-by: Alec Troemel <alec@mirusresearch.com>

* remove trailing spaces

Signed-off-by: Alec Troemel <alec@mirusresearch.com>

* remove extra paren

Signed-off-by: Alec Troemel <alec@mirusresearch.com>
2018-11-10 10:25:18 -08:00
Javier J. Salmerón-García 6caec2e5f7 [stable/redis] Set metrics annotations by default (#8299)
* [stable/redis] Set metrics annotations by default

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

* Remove empty annotation

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-11-08 06:04:10 -08:00
Thomas Riccardi 37a2b385c2 [stable/redis] fix typos on README/comments for service.type (#8931)
Also fixed default value in README for {slave,metrics}.service.type (completes #5524).

Signed-off-by: Thomas Riccardi <thomas@deepomatic.com>
2018-11-02 10:02:05 -07:00
Thomas Riccardi f5c645ebc3 [stable/redis] re-sync values-production.yaml with values.yaml (#8930)
Signed-off-by: Thomas Riccardi <thomas@deepomatic.com>
2018-11-02 02:11:28 -07:00
Carlos Rodríguez Hernández 75c54f9489 Use minideb as initContainer to change volumes permissions (#8737)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-25 06:13:19 -07:00
Grachev Mikhail deb355e8cd [stable/redis] fix typo (#8699)
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2018-10-25 03:09:03 -07:00
Cédric de Saint Martin ba4cbb322c [stable/redis] Add myself as maintainer. (#8682)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-24 02:27:08 -07:00
Eric Bailey 9dd5c9858c [stable/redis] Avoid generating null annotations (#8588)
Signed-off-by: Eric Bailey <e.bailey@sportradar.com>
2018-10-22 11:47:40 -07:00
Carlos Rodríguez Hernández 8509c013f1 [stable/redis] Remove distro tag (#8535)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-17 08:14:55 -07:00
Carlos Rodríguez Hernández 351c639bde [stable/redis] Add global registry option (#8450)
* [stable/redis] Add global registry option

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

* Fix trailing space

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-16 01:30:37 -07:00
Martin Helmich 1869640ddf [stable/redis] NetworkPolicy podSelector should also match "release" (#8377)
* [stable/redis] NetworkPolicy podSelector should also match "release"

Currently, the `NetworkPolicy` created for the "redis" charts, only selects via the `app` label.

However, this does not only match Redis pods created by the respective release, but matches
Redis pods of _all_ releases of that Chart (which is -- I'm assuming -- not the intended behaviour).

Signed-off-by: Martin Helmich <m.helmich@mittwald.de>

* Bump chart version

Signed-off-by: Martin Helmich <m.helmich@mittwald.de>
2018-10-12 03:47:10 -07:00
Carlos Rodríguez Hernández 93db96ce6b [stable/redis] Add kubeapps text to charts READMEs (#8195)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-05 04:28:13 -07:00
Carlos Rodríguez Hernández a1686d73bf [stable/redis] Improve getting LoadBalancer address in NOTES.txt (#8035)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-09-29 09:54:37 -07:00
Sergey bccfb47adb [stable/redis] add init-container for set chown redis data dir (#7928)
* add init-container for set chown redis data dir
when securityContext and persistence claim template is enabled

Signed-off-by: Sergey Bondarev <s.bondarev@southbridge.ru>

* add to Readme and values-production.yaml

Signed-off-by: Sergey Bondarev <s.bondarev@southbridge.ru>

* change init-container image to busybox
bump chart version to 4.1

Signed-off-by: Sergey Bondarev <s.bondarev@southbridge.ru>

* also change init conatiner image in values-production.yml

Signed-off-by: Sergey Bondarev <s.bondarev@southbridge.ru>

* fix version

Signed-off-by: Sergey Bondarev <s.bondarev@southbridge.ru>
2018-09-27 02:34:45 -07:00
Cédric de Saint Martin 480a7f8129 [stable/redis] Do not set annotation field if there is no annotation. (#7786)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-09-24 03:11:05 -07:00
Cédric de Saint Martin c3bbcadcd3 [stable/redis] Major version bump: Fix chart not being upgradable by removing 'chart' label from spec.selector or spec.VolumeClaimTemplate. (#7686)
Also set a selector to all Deployments.

See https://github.com/helm/charts/issues/7680.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-09-24 02:44:45 -07:00
Jacob LeGrone 342d894906 [stable/redis] Fail health probes when authentication fails (#7622)
* Add secret checksum to metrics deployment

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Fail health probes if auth is invalid

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Configure master service port number

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Increment chart version

Signed-off-by: Jacob LeGrone <git@jacob.work>
2018-09-10 02:34:52 -07:00
Jacob LeGrone 64a5308dc7 [stable/redis] Rollout new pods on configuration changes (#7619)
* Rename secrets.yaml to secret.yaml

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Perform rolling update when configuration changes

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Interpret redis.conf contents as string

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Bump chart version

Signed-off-by: Jacob LeGrone <git@jacob.work>
2018-09-08 13:35:12 -07:00
Marcus Johansson 48e69924e1 [stable/redis] fixed nodePort for master and slave (#7522)
Signed-off-by: Marcus Johansson <polarn@gmail.com>
2018-09-05 00:21:33 -07:00
Juan Ariza Toledano 85e6fb22d0 [stable/redis] Add possibility to inject a custom configuration file (#7460)
Signed-off-by: Juan Ariza <juan@bitnami.com>
2018-08-31 03:37:26 -07:00
Juan Ariza Toledano 979a113993 [stable/redis] Set rigth metrics.image.repository on README.md (#7394)
Signed-off-by: Juan Ariza <juan@bitnami.com>
2018-08-28 10:48:52 -07:00
Alexander Babai 36fc7e35ce [stable/redis] fix cluster-less mode (#7079)
* [stable/redis] fix cluster-less mode

bring back role selector to ridis-master-svc

* [stable/redis] bump version
2018-08-10 01:21:53 -07:00
Bitnami Bot b6ef6fc027 [stable/redis] Release 3.7.5 (#7065)
* redis: update to `4.0.11-debian-9`

* redis: bump chart appVersion to `4.0.11`

* redis: bump chart version to `3.7.5`
2018-08-08 00:19:38 -07:00
Juan Ariza Toledano 058bc4da54 Improve notes to access deployed services (#7031) 2018-08-07 06:57:03 -07:00
Javier J. Salmerón-García f7843843f3 [stable/redis] Add chart and release labels in pods (#6909) 2018-07-30 11:22:56 -07:00
Harry Lee 3bf5d6101b [stable/redis] Fixed typo in README (#6769)
* Fixed typo in README

* [stable/redis] Bumped version

* [stable/redis] Bumped version
2018-07-24 01:44:25 -07:00
Michael Raimondi 0424e3c8b6 move serviceAccountName out of if block (#6783) 2018-07-24 00:03:24 -07:00
Michael Raimondi 8b5d11e246 add option to supply extra arguments (#6685) 2018-07-23 02:16:18 -07:00
Michael Raimondi 09be94a0c0 [stable/redis] Add service account to metrics deployment (#6684)
* add service account to metrics deployment

* bump chart version
2018-07-18 00:44:18 -07:00
Gianluca Bortoli a8b5904d1a [redis] Bump redis_exporter to v0.20.2 (#6594)
* Bump redis_exporter to v0.20.2

* Bump version in prod values
2018-07-11 07:00:25 -07:00
Carlos Rodríguez Hernández 9399633c59 [stable/redis] Fix appVersion (#6550) 2018-07-09 09:22:18 -07:00
Bitnami Bot bbb7d28487 [stable/redis] Release 3.6.2 (#6489)
* redis: update to `4.0.10-debian-9`

* redis: bump chart appVersion to `4.0.10-debian-9`

* redis: bump chart version to `3.6.2`
2018-07-06 00:09:17 -07:00
AdamDang 4222994104 [stable/redis] Typo fix: ragistry->registry (#6459)
* [stable/redis] Add version v3.6.1

[stable/redis] Add version v3.6.1

* [stable/redis] Typo fix: ragistry->registry

[stable/redis] Typo fix: ragistry->registry
2018-07-04 01:28:20 -07:00
Cédric de Saint Martin e237c3a612 Redis slave deployment: fix affinity -> slave.affinity. (#6246) 2018-06-21 06:12:06 -07:00
Gianluca Bortoli 869c634517 [redis] Update redis_exporter to latest release (#6231)
* Update redis_exporter to latest release

* Bump chart version

* [review] Increase minor version instead of patch
2018-06-21 01:45:08 -07:00
Cédric de Saint Martin 1c258fd243 Redis: add affinity parameter to Master StatefulSet. (#6200) 2018-06-20 06:24:05 -07:00
Anatoli Iariomenco 4ce2986e39 Add updateStrategy parameter for redis StatefulSet. (#6121)
* Add updateStrategy parameter for redis StatefulSet.

* Add partition update strategy parameter for redis StatefulSet.

* Bugfix.

* Bugfix.
2018-06-18 07:54:30 -07:00