mirror of
https://github.com/bitnami/charts.git
synced 2026-02-26 15:57:38 +08:00
[bitnami/redis] Add support for Sentinel resource annotations (#15652)
* Add support for Sentinel resource annotations Signed-off-by: Siam Zamir <siamzam@gmail.com> * Add missing default value for sentinel.annotations Signed-off-by: Siam Zamir <siamzam@gmail.com> --------- Signed-off-by: Siam Zamir <siamzam@gmail.com>
This commit is contained in:
@@ -338,6 +338,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `sentinel.image.pullPolicy` | Redis® Sentinel image pull policy | `IfNotPresent` |
|
||||
| `sentinel.image.pullSecrets` | Redis® Sentinel image pull secrets | `[]` |
|
||||
| `sentinel.image.debug` | Enable image debug mode | `false` |
|
||||
| `sentinel.annotations` | Additional custom annotations for Redis® Sentinel resource | `{}` |
|
||||
| `sentinel.masterSet` | Master set name | `mymaster` |
|
||||
| `sentinel.quorum` | Sentinel Quorum | `2` |
|
||||
| `sentinel.getMasterTimeout` | Amount of time to allow before get_sentinel_master_info() times out. | `220` |
|
||||
|
||||
@@ -10,8 +10,14 @@ metadata:
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- if or .Values.commonAnnotations .Values.sentinel.annotations }}
|
||||
annotations:
|
||||
{{- if .Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.sentinel.annotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.sentinel.annotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.replica.replicaCount }}
|
||||
|
||||
@@ -1013,6 +1013,9 @@ sentinel:
|
||||
## Enable debug mode
|
||||
##
|
||||
debug: false
|
||||
## @param sentinel.annotations Additional custom annotations for Redis® Sentinel resource
|
||||
##
|
||||
annotations: {}
|
||||
## @param sentinel.masterSet Master set name
|
||||
##
|
||||
masterSet: mymaster
|
||||
|
||||
Reference in New Issue
Block a user