* [bitnami/redis] Update apiVersion of PDB to policy/v1
According to https://kubernetes.io/docs/reference/using-api/deprecation-guide/ we can start using `policy/v1` in Kubernetes `1.21`.
Without this change you can observe such things in logs:
```
W0901 11:28:35.264440 91 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0901 11:28:35.269403 91 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0901 11:28:35.297605 91 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
```
* use common.capabilities.policy.apiVersion
* bump chart to 15.3.1
* fix(7321): Set the scaleTargetRef.name based on which SS is used
scaleTargetRef.name can be either the -node (when sentinel enabled) or -replicas when sentinel is not enabled
Separate the hpa for sentinel and replicates model this assures that the hpa reference the right target.
* Fix the condition on picking up the replicas hpa
Co-authored-by: Ibone González Mauraza <gibone@vmware.com>
* Adding a new HPA for the sentinel is a new feature
Co-authored-by: Ibone González Mauraza <gibone@vmware.com>
Co-authored-by: Masoud Kalali <masoud.kalali@swedbank.se>
Co-authored-by: Ibone González Mauraza <gibone@vmware.com>
* [bitnami/redis] Add relabelings / changed metricRelabelings to ServiceMonitor
* [bitnami/redis] Add / change relabelings to values.yaml
* [bitnami/redis] Version bump
* [bitnami/redis] Added value to README
* Updated version to correct semVer
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
* Update README with more detailed description
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
* Update values.yaml param description with more detailed information
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
* Condition for empty REDIS_PASSWORD
Without this change it generates "Warning: AUTH failed" on stderr, and k8s reports pods as unhealthy with this warning.
* Update Chart.yaml
* Create sections, reorder values, and regenerate README
* Use proper type for commonConfiguration without skipping
* Change objects by string
* Change object by string
* Change object by string
* Change object by string
* Remove duplicated tables in README
* Rebase
* Replace <sup> strings with ™ in the README files
* Execute readme-generator
* Bump chart version when values.yaml is modified
Co-authored-by: jotamartos <jotamartos@vmware.com>
Co-authored-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
* [bitnami/redis]: Add an extra VolumeMount to the metrics sidecar for custom scripts
If `metrics.extraArgs.script` is defined, add an extra VolumeMount
to the metrics sidecar containers to ensure they can see it. The
responsibility of providing the volume and script is on the chart,
by way of the new `metrics.extraVolumes` and `metrics.extraVolumeMounts`
parameters.
This was not added to the sentinel sidecar, as that is apparently
going away.
Fixes issue: https://github.com/bitnami/charts/issues/6792
* address review feedback
Co-authored-by: Nicolas Simonds <nisimond@cisco.com>
+ If we omit to specify the replicas it is defaulted to 1.
By omitting the value, an issue arise if an operator scale (down/up)
the replicaset and after try to re-apply the helm chart in order to
revert operations. In the case the replicas value is omitted
helm/kube will not scaleback the replicaset to its original default
value.
+ This PR intend to paliate to the above issue. It just add
replicas in the chart so Helm/Kube will re-adjust/scale the
replicaset even if changed by an operator.
* [bitnami/redis] Add support for autogenerated certs
* Update README.md and Chart version bump
* Add validation check and minor fixes
* Version bump
* Add annotations and remove whitespace
* Update _helpers.tpl
* Update README.md
* Bump version
* Added HPA for redis
* Fixed wrong resources being commented
* Updated minor version instead of patch
* Moved autoscaling into the replica section
* Updated hpa to reflect change to autoscaling value location
* Fixed replica typo in redis hpa
* Fix Chart.yaml linter
Co-authored-by: alvneiayu <alvaron@vmware.com>