[bitnami/redis] add extraPortsEnabled (#30607)

* [bitnami/redis] add extraPortsEnabled

Signed-off-by: Sepideh Alavi <sepi.alavii@gmail.com>

[bitnami/redis] add extraPortsEnabled

Signed-off-by: Sepideh Alavi <sepi.alavii@gmail.com>

Update CHANGELOG.md

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

Update CHANGELOG.md

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

move extraports to existing headless object

Signed-off-by: Sepideh Alavi <sepi.alavii@gmail.com>

* Update CHANGELOG.md

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

---------

Signed-off-by: Sepideh Alavi <sepi.alavii@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Sepideh
2024-12-02 03:40:59 -05:00
committed by GitHub
parent bfda05c365
commit 77a98fa631
6 changed files with 25 additions and 3 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 20.4.0 (2024-12-01)
* [bitnami/redis] add extraPortsEnabled ([#30607](https://github.com/bitnami/charts/pull/30607))
## 20.3.0 (2024-11-14)
* [bitnami/redis] feat: :sparkles: Allow updating credentials via values.yaml ([#30452](https://github.com/bitnami/charts/pull/30452))
* [bitnami/redis] feat: :sparkles: Allow updating credentials via values.yaml (#30452) ([d6a3118](https://github.com/bitnami/charts/commit/d6a3118e42a9a481d4429defbd628015a3b8f755)), closes [#30452](https://github.com/bitnami/charts/issues/30452)
## <small>20.2.2 (2024-11-11)</small>

View File

@@ -36,4 +36,4 @@ maintainers:
name: redis
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redis
version: 20.3.0
version: 20.4.0

View File

@@ -860,6 +860,7 @@ helm install my-release --set master.persistence.existingClaim=PVC_NAME oci://RE
| `sentinel.service.sessionAffinity` | Session Affinity for Kubernetes service, can be "None" or "ClientIP" | `None` |
| `sentinel.service.sessionAffinityConfig` | Additional settings for the sessionAffinity | `{}` |
| `sentinel.service.headless.annotations` | Annotations for the headless service. | `{}` |
| `sentinel.service.headless.extraPorts` | Optionally specify extra ports to expose for the headless service. | `[]` |
| `sentinel.masterService.enabled` | Enable master service pointing to the current master (experimental) | `false` |
| `sentinel.masterService.type` | Redis&reg; Sentinel master service type | `ClusterIP` |
| `sentinel.masterService.ports.redis` | Redis&reg; service port for Redis&reg; | `6379` |

View File

@@ -32,4 +32,7 @@ spec:
port: {{ .Values.sentinel.service.ports.sentinel }}
targetPort: redis-sentinel
{{- end }}
{{- if .Values.sentinel.service.headless.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.sentinel.service.headless.extraPorts "context" $) | nindent 4 }}
{{- end }}
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}

View File

@@ -2209,6 +2209,12 @@
"type": "object",
"description": "Annotations for the headless service.",
"default": {}
},
"extraPorts": {
"type": "array",
"description": "Extra ports to expose for the headless service",
"default": [],
"items": {}
}
}
}

View File

@@ -1459,7 +1459,15 @@ sentinel:
## @param sentinel.service.headless.annotations Annotations for the headless service.
##
annotations: {}
## @param sentinel.service.headless.extraPorts Optionally specify extra ports to expose for the headless service.
## Example:
## extraPorts:
## - name: my-custom-port
## port: 12345
## protocol: TCP
## targetPort: 12345
##
extraPorts: []
## Redis&reg; master service parameters
##
masterService: