UNCLASSIFIED - NO CUI

Skip to content
Commits on Source (2)
......@@ -3,6 +3,13 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [20.1.7-bb.0] - 2024-10-04
### Changed
- Updated chart version to redis/20.1.7
- Updated registry1.dso.mil/ironbank/bitnami/redis 7.4.0 -> 7.4.1
## [20.0.1-bb.1] - 2024-09-10
### Changed
......
<!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. -->
# redis
![Version: 20.0.1-bb.1](https://img.shields.io/badge/Version-20.0.1--bb.1-informational?style=flat-square) ![AppVersion: 7.4.0](https://img.shields.io/badge/AppVersion-7.4.0-informational?style=flat-square)
![Version: 20.1.7-bb.0](https://img.shields.io/badge/Version-20.1.7--bb.0-informational?style=flat-square) ![AppVersion: 7.4.1](https://img.shields.io/badge/AppVersion-7.4.1-informational?style=flat-square)
Redis(R) is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
......@@ -89,7 +89,7 @@ helm install redis chart/
| diagnosticMode.args[0] | string | `"infinity"` | |
| image.registry | string | `"registry1.dso.mil"` | |
| image.repository | string | `"ironbank/bitnami/redis"` | |
| image.tag | string | `"7.4.0"` | |
| image.tag | string | `"7.4.1"` | |
| image.digest | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.pullSecrets | list | `[]` | |
......@@ -356,7 +356,7 @@ helm install redis chart/
| sentinel.enabled | bool | `false` | |
| sentinel.image.registry | string | `"docker.io"` | |
| sentinel.image.repository | string | `"bitnami/redis-sentinel"` | |
| sentinel.image.tag | string | `"7.4.0-debian-12-r0"` | |
| sentinel.image.tag | string | `"7.4.1-debian-12-r0"` | |
| sentinel.image.digest | string | `""` | |
| sentinel.image.pullPolicy | string | `"IfNotPresent"` | |
| sentinel.image.pullSecrets | list | `[]` | |
......@@ -591,7 +591,7 @@ helm install redis chart/
| volumePermissions.enabled | bool | `false` | |
| volumePermissions.image.registry | string | `"docker.io"` | |
| volumePermissions.image.repository | string | `"bitnami/os-shell"` | |
| volumePermissions.image.tag | string | `"12-debian-12-r27"` | |
| volumePermissions.image.tag | string | `"12-debian-12-r30"` | |
| volumePermissions.image.digest | string | `""` | |
| volumePermissions.image.pullPolicy | string | `"IfNotPresent"` | |
| volumePermissions.image.pullSecrets | list | `[]` | |
......@@ -603,10 +603,11 @@ helm install redis chart/
| volumePermissions.containerSecurityContext.seLinuxOptions | object | `{}` | |
| volumePermissions.containerSecurityContext.runAsUser | int | `0` | |
| volumePermissions.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
| volumePermissions.extraEnvVars | list | `[]` | |
| kubectl.enabled | bool | `false` | |
| kubectl.image.registry | string | `"docker.io"` | |
| kubectl.image.repository | string | `"bitnami/kubectl"` | |
| kubectl.image.tag | string | `"1.30.3-debian-12-r5"` | |
| kubectl.image.tag | string | `"1.31.1-debian-12-r3"` | |
| kubectl.image.digest | string | `""` | |
| kubectl.image.pullPolicy | string | `"IfNotPresent"` | |
| kubectl.image.pullSecrets | list | `[]` | |
......@@ -627,7 +628,7 @@ helm install redis chart/
| sysctl.enabled | bool | `false` | |
| sysctl.image.registry | string | `"docker.io"` | |
| sysctl.image.repository | string | `"bitnami/os-shell"` | |
| sysctl.image.tag | string | `"12-debian-12-r27"` | |
| sysctl.image.tag | string | `"12-debian-12-r30"` | |
| sysctl.image.digest | string | `""` | |
| sysctl.image.pullPolicy | string | `"IfNotPresent"` | |
| sysctl.image.pullSecrets | list | `[]` | |
......
# Changelog
## 20.0.1 (2024-08-09)
## 20.1.7 (2024-10-02)
* [bitnami/redis] fix: Use rollout restart in ginkgo tests ([#28813](https://github.com/bitnami/charts/pull/28813))
* [bitnami/redis] Release 20.1.7 ([#29756](https://github.com/bitnami/charts/pull/29756))
## <small>20.1.6 (2024-10-02)</small>
* [bitnami/redis] adds kind & apiVersion for pvc template in statefulset (#29678) ([13212d2](https://github.com/bitnami/charts/commit/13212d218c0eea9d60a3b9d08f8d5ca1b5951d74)), closes [#29678](https://github.com/bitnami/charts/issues/29678)
## <small>20.1.5 (2024-09-26)</small>
* [bitnami/redis] - fix additionalEndpoints in servicemonitor (#29595) ([6e674ff](https://github.com/bitnami/charts/commit/6e674ff9f082dc60676e4451917400a48c05a6ad)), closes [#29595](https://github.com/bitnami/charts/issues/29595)
## <small>20.1.4 (2024-09-19)</small>
* [bitnami/redis] Release 20.1.4 (#29530) ([8053b1a](https://github.com/bitnami/charts/commit/8053b1a13272f5485ca5c6ec0ace6741cf202262)), closes [#29530](https://github.com/bitnami/charts/issues/29530)
## <small>20.1.3 (2024-09-14)</small>
* [bitnami/redis] Release 20.1.3 (#29411) ([b0b5c88](https://github.com/bitnami/charts/commit/b0b5c88f48cbb67d367121d92cf44afd5ddb424f)), closes [#29411](https://github.com/bitnami/charts/issues/29411)
## <small>20.1.2 (2024-09-13)</small>
* [bitnami/redis] Use common password manager to handle password (#29376) ([6ec3657](https://github.com/bitnami/charts/commit/6ec365736a61521aeb8f44d475420bf529f7f1fd)), closes [#29376](https://github.com/bitnami/charts/issues/29376)
## <small>20.1.1 (2024-09-13)</small>
* [bitnami/redis] fix: move variable from annotation to label (#29209) ([396fa01](https://github.com/bitnami/charts/commit/396fa01503a29a5c4695073ed9e6bde1923b187b)), closes [#29209](https://github.com/bitnami/charts/issues/29209)
## 20.1.0 (2024-09-09)
* [bitnami/redis] Support extraEnvVars on volume-permissions for dynamic subfolders (#29195) ([b33ff20](https://github.com/bitnami/charts/commit/b33ff200f4710173de48581071bc132d09618594)), closes [#29195](https://github.com/bitnami/charts/issues/29195)
## <small>20.0.5 (2024-09-05)</small>
* [bitnami/redis] label slave pod using sentinel masterService (#29121) ([6ae397f](https://github.com/bitnami/charts/commit/6ae397fb40ff4af6a578c54911f96383e30fed96)), closes [#29121](https://github.com/bitnami/charts/issues/29121)
## <small>20.0.4 (2024-09-04)</small>
* [bitnami/redis] update values.schema.json (#29106) ([8a2fea3](https://github.com/bitnami/charts/commit/8a2fea3d935989fc929092083e3af341d4eb545f)), closes [#29106](https://github.com/bitnami/charts/issues/29106)
## <small>20.0.3 (2024-08-20)</small>
* [bitnami/redis] Release 20.0.3 (#28941) ([d2a1abb](https://github.com/bitnami/charts/commit/d2a1abbba3a6125260c2df569ef060e165be88fa)), closes [#28941](https://github.com/bitnami/charts/issues/28941)
## <small>20.0.2 (2024-08-14)</small>
* [bitnami/redis] Release 20.0.2 (#28881) ([582b058](https://github.com/bitnami/charts/commit/582b058c032a83ad74eed87c9e9665ca4252f0ce)), closes [#28881](https://github.com/bitnami/charts/issues/28881)
* [bitnami/redis] Update README after major update (#28848) ([a96205b](https://github.com/bitnami/charts/commit/a96205be4d1d1b4af34bf000cae49ae63b237a2a)), closes [#28848](https://github.com/bitnami/charts/issues/28848)
## <small>20.0.1 (2024-08-09)</small>
* [bitnami/redis] fix: Use rollout restart in ginkgo tests (#28813) ([1d8cb54](https://github.com/bitnami/charts/commit/1d8cb543a33d12b519a4b0e28fa99d3e20421a28)), closes [#28813](https://github.com/bitnami/charts/issues/28813)
## 20.0.0 (2024-08-09)
......
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.22.0
digest: sha256:a8fb2fc887ead658a89598a48acde5324196fbc0509503a3eaed50a710fbfe74
generated: "2024-08-09T13:57:12.563276536Z"
version: 2.24.0
digest: sha256:46b36e150d694a13f14e342c1f73c1609d8e7d2adae517b0ace596d0b27c1c77
generated: "2024-10-07T07:08:07.178940463-07:00"
......@@ -5,14 +5,14 @@ annotations:
category: Database
licenses: Apache-2.0
bigbang.dev/applicationVersions: |
- Redis: 7.4.0
- Redis: 7.4.1
helm.sh/images: |
- name: redis
image: registry1.dso.mil/ironbank/bitnami/redis:7.4.0
image: registry1.dso.mil/ironbank/bitnami/redis:7.4.1
- name: exporter
image: registry1.dso.mil/ironbank/bitnami/analytics/redis-exporter:v1.63.0
apiVersion: v2
appVersion: 7.4.0
appVersion: 7.4.1
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
......@@ -31,5 +31,5 @@ maintainers:
url: https://github.com/bitnami/charts
name: redis
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redis
version: 20.0.1-bb.1
- https://github.com/bitnami/charts/tree/main/bitnami/redis
version: 20.1.7-bb.0
......@@ -5,7 +5,7 @@ metadata:
upstream:
type: git
git:
commit: 1d8cb543a33d12b519a4b0e28fa99d3e20421a28
commit: bc01e03cea20cd93fdd43a4fece348aabb3f1ea4
repo: https://github.com/bitnami/charts
directory: bitnami/redis
ref: redis/20.0.1
ref: redis/20.1.7
......@@ -988,6 +988,7 @@ helm install my-release --set master.persistence.existingClaim=PVC_NAME oci://RE
| `volumePermissions.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `volumePermissions.containerSecurityContext.seLinuxOptions` | Set SELinux options in container | `{}` |
| `volumePermissions.containerSecurityContext.runAsUser` | Set init container's Security Context runAsUser | `0` |
| `volumePermissions.extraEnvVars` | Array with extra environment variables to add to volume permissions init container. | `[]` |
| `kubectl.image.registry` | Kubectl image registry | `REGISTRY_NAME` |
| `kubectl.image.repository` | Kubectl image repository | `REPOSITORY_NAME/kubectl` |
| `kubectl.image.digest` | Kubectl image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
......@@ -1068,6 +1069,10 @@ This issue can be mitigated by splitting the upgrade into two stages: one for al
- Stage 2 (anything else that is not up to date, in this case only master):
`helm upgrade oci://REGISTRY_NAME/REPOSITORY_NAME/redis`
### To 20.0.0
This major version updates the Redis&reg; docker image version used from `7.2` to `7.4`, the new stable version. There are no major changes in the chart, but we recommend checking the [Redis&reg; 7.4 release notes](https://raw.githubusercontent.com/redis/redis/7.4/00-RELEASENOTES) before upgrading.
### To 19.0.0
This major bump changes the following security defaults:
......
......@@ -222,34 +222,13 @@ Get the password key to be retrieved from Redis&reg; secret.
{{- end -}}
{{- end -}}
{{/*
Returns the available value for certain key in an existing secret (if it exists),
otherwise it generates a random value.
*/}}
{{- define "getValueFromSecret" }}
{{- $len := (default 16 .Length) | int -}}
{{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}}
{{- if $obj }}
{{- index $obj .Key | b64dec -}}
{{- else -}}
{{- randAlphaNum $len -}}
{{- end -}}
{{- end }}
{{/*
Return Redis&reg; password
*/}}
{{- define "redis.password" -}}
{{- if or .Values.auth.enabled .Values.global.redis.password }}
{{- if not (empty .Values.global.redis.password) }}
{{- .Values.global.redis.password -}}
{{- else if not (empty .Values.auth.password) -}}
{{- .Values.auth.password -}}
{{- else -}}
{{- include "getValueFromSecret" (dict "Namespace" (include "common.names.namespace" .) "Name" (include "redis.secretName" .) "Length" 10 "Key" (include "redis.secretPasswordKey" .)) -}}
{{- end -}}
{{- end -}}
{{- if or .Values.auth.enabled .Values.global.redis.password -}}
{{- include "common.secrets.passwords.manage" (dict "secret" (include "redis.secretName" .) "key" (include "redis.secretPasswordKey" .) "providedValues" (list "global.redis.password" "auth.password") "length" 10 "skipB64enc" true "skipQuote" true "context" $) -}}
{{- end }}
{{- end }}
{{/* Check if there are rolling tags in the images */}}
......
......@@ -393,6 +393,10 @@ spec:
{{- else }}
securityContext: {{- .Values.volumePermissions.containerSecurityContext | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.extraEnvVars }}
env:
{{- include "common.tplvalues.render" (dict "value" .Values.volumePermissions.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.resources }}
resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }}
{{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
......
......@@ -413,6 +413,10 @@ spec:
{{- else }}
securityContext: {{- .Values.volumePermissions.containerSecurityContext | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.extraEnvVars }}
env:
{{- include "common.tplvalues.render" (dict "value" .Values.volumePermissions.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.resources }}
resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }}
{{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
......
......@@ -783,6 +783,7 @@ data:
done
echo "new master elected, updating label(s)..."
kubectl label pod --field-selector metadata.name="$(< "/etc/shared/current")" isMaster="true" --overwrite
kubectl label pod --field-selector metadata.name="$(< "/etc/shared/current")" app.kubernetes.io/role-
if [ -f /etc/shared/previous ]; then
kubectl label pod --field-selector metadata.name="$(< "/etc/shared/previous")" isMaster="false" --overwrite
fi
......
......@@ -37,6 +37,9 @@ spec:
metadata:
labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }}
app.kubernetes.io/component: node
{{- if .Values.sentinel.masterService.enabled }}
app.kubernetes.io/role: slave
{{- end }}
{{- if and .Values.metrics.enabled .Values.metrics.podLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.metrics.podLabels "context" $ ) | nindent 8 }}
{{- end }}
......@@ -636,6 +639,10 @@ spec:
{{- else }}
securityContext: {{- .Values.volumePermissions.containerSecurityContext | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.extraEnvVars }}
env:
{{- include "common.tplvalues.render" (dict "value" .Values.volumePermissions.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.volumePermissions.resources }}
resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }}
{{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
......@@ -802,7 +809,9 @@ spec:
{{- end }}
{{- include "common.storage.class" (dict "persistence" .Values.replica.persistence "global" .Values.global) | nindent 8 }}
{{- if .Values.sentinel.persistence.enabled }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: sentinel-data
{{- $claimLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sentinel.persistence.labels .Values.commonLabels ) "context" . ) }}
labels: {{- include "common.labels.matchLabels" ( dict "customLabels" $claimLabels "context" $ ) | nindent 10 }}
......
......@@ -52,7 +52,7 @@ spec:
{{- if .honorLabels }}
honorLabels: {{ .honorLabels }}
{{- end }}
{{- with concat .Values.metrics.serviceMonitor.relabelings .Values.metrics.serviceMonitor.relabellings }}
{{- with concat $.Values.metrics.serviceMonitor.relabelings $.Values.metrics.serviceMonitor.relabellings }}
relabelings: {{- toYaml . | nindent 6 }}
{{- end }}
{{- if .metricRelabelings }}
......
This diff is collapsed.
......@@ -158,7 +158,7 @@ diagnosticMode:
image:
registry: registry1.dso.mil
repository: ironbank/bitnami/redis
tag: 7.4.0
tag: 7.4.1
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
......@@ -1218,7 +1218,7 @@ sentinel:
image:
registry: docker.io
repository: bitnami/redis-sentinel
tag: 7.4.0-debian-12-r0
tag: 7.4.1-debian-12-r0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
......@@ -2024,7 +2024,7 @@ metrics:
# add metricRelabelings with label like app=redis to main redis pod-monitor port
# - interval: "30s"
# path: "/scrape"
# port: "metrics"
# port: "http-metrics"
# params:
# target: ["localhost:26379"]
# metricRelabelings:
......@@ -2159,7 +2159,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/os-shell
tag: 12-debian-12-r27
tag: 12-debian-12-r30
digest: ""
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
......@@ -2209,6 +2209,14 @@ volumePermissions:
drop:
- ALL
## @param volumePermissions.extraEnvVars Array with extra environment variables to add to volume permissions init container.
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []
## Kubectl InitContainer
## used by Sentinel to update the isMaster label on the Redis(TM) pods
##
......@@ -2226,7 +2234,7 @@ kubectl:
image:
registry: docker.io
repository: bitnami/kubectl
tag: 1.30.3-debian-12-r5
tag: 1.31.1-debian-12-r3
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
......@@ -2301,7 +2309,7 @@ sysctl:
image:
registry: docker.io
repository: bitnami/os-shell
tag: 12-debian-12-r27
tag: 12-debian-12-r30
digest: ""
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
......