mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
[bitnami/redis-cluster] Allow set Helm/ArgoCD hook for updateJob (#19221)
* [bitnami/redis-cluster] Allow set Helm/ArgoCD hook for updateJob Signed-off-by: Rimantas Ragainis <rimantas.ragainis@gmail.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Rimantas Ragainis <rimantas.ragainis@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:
committed by
GitHub
parent
de18b6a340
commit
f5a536bbde
@@ -32,4 +32,4 @@ maintainers:
|
||||
name: redis-cluster
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/redis-cluster
|
||||
version: 9.0.4
|
||||
version: 9.0.5
|
||||
|
||||
@@ -237,32 +237,33 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
|
||||
### Cluster update job parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------ |
|
||||
| `updateJob.activeDeadlineSeconds` | Number of seconds the Job to create the cluster will be waiting for the Nodes to be ready. | `600` |
|
||||
| `updateJob.command` | Container command (using container default if not set) | `[]` |
|
||||
| `updateJob.args` | Container args (using container default if not set) | `[]` |
|
||||
| `updateJob.hostAliases` | Deployment pod host aliases | `[]` |
|
||||
| `updateJob.annotations` | Job annotations | `{}` |
|
||||
| `updateJob.podAnnotations` | Job pod annotations | `{}` |
|
||||
| `updateJob.podLabels` | Pod extra labels | `{}` |
|
||||
| `updateJob.extraEnvVars` | An array to add extra environment variables | `[]` |
|
||||
| `updateJob.extraEnvVarsCM` | ConfigMap containing extra environment variables | `""` |
|
||||
| `updateJob.extraEnvVarsSecret` | Secret containing extra environment variables | `""` |
|
||||
| `updateJob.extraVolumes` | Extra volumes to add to the deployment | `[]` |
|
||||
| `updateJob.extraVolumeMounts` | Extra volume mounts to add to the container | `[]` |
|
||||
| `updateJob.initContainers` | Extra init containers to add to the deployment | `[]` |
|
||||
| `updateJob.podAffinityPreset` | Update job pod affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `updateJob.podAntiAffinityPreset` | Update job pod anti-affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `soft` |
|
||||
| `updateJob.nodeAffinityPreset.type` | Update job node affinity preset type. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `updateJob.nodeAffinityPreset.key` | Update job node label key to match Ignored if `updateJob.affinity` is set. | `""` |
|
||||
| `updateJob.nodeAffinityPreset.values` | Update job node label values to match. Ignored if `updateJob.affinity` is set. | `[]` |
|
||||
| `updateJob.affinity` | Affinity for update job pods assignment | `{}` |
|
||||
| `updateJob.nodeSelector` | Node labels for update job pods assignment | `{}` |
|
||||
| `updateJob.tolerations` | Tolerations for update job pods assignment | `[]` |
|
||||
| `updateJob.priorityClassName` | Priority class name | `""` |
|
||||
| `updateJob.resources.limits` | The resources limits for the container | `{}` |
|
||||
| `updateJob.resources.requests` | The requested resources for the container | `{}` |
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------- |
|
||||
| `updateJob.activeDeadlineSeconds` | Number of seconds the Job to create the cluster will be waiting for the Nodes to be ready. | `600` |
|
||||
| `updateJob.command` | Container command (using container default if not set) | `[]` |
|
||||
| `updateJob.args` | Container args (using container default if not set) | `[]` |
|
||||
| `updateJob.hostAliases` | Deployment pod host aliases | `[]` |
|
||||
| `updateJob.helmHook` | Job Helm hook | `post-upgrade` |
|
||||
| `updateJob.annotations` | Job annotations | `{}` |
|
||||
| `updateJob.podAnnotations` | Job pod annotations | `{}` |
|
||||
| `updateJob.podLabels` | Pod extra labels | `{}` |
|
||||
| `updateJob.extraEnvVars` | An array to add extra environment variables | `[]` |
|
||||
| `updateJob.extraEnvVarsCM` | ConfigMap containing extra environment variables | `""` |
|
||||
| `updateJob.extraEnvVarsSecret` | Secret containing extra environment variables | `""` |
|
||||
| `updateJob.extraVolumes` | Extra volumes to add to the deployment | `[]` |
|
||||
| `updateJob.extraVolumeMounts` | Extra volume mounts to add to the container | `[]` |
|
||||
| `updateJob.initContainers` | Extra init containers to add to the deployment | `[]` |
|
||||
| `updateJob.podAffinityPreset` | Update job pod affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `updateJob.podAntiAffinityPreset` | Update job pod anti-affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `soft` |
|
||||
| `updateJob.nodeAffinityPreset.type` | Update job node affinity preset type. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `updateJob.nodeAffinityPreset.key` | Update job node label key to match Ignored if `updateJob.affinity` is set. | `""` |
|
||||
| `updateJob.nodeAffinityPreset.values` | Update job node label values to match. Ignored if `updateJob.affinity` is set. | `[]` |
|
||||
| `updateJob.affinity` | Affinity for update job pods assignment | `{}` |
|
||||
| `updateJob.nodeSelector` | Node labels for update job pods assignment | `{}` |
|
||||
| `updateJob.tolerations` | Tolerations for update job pods assignment | `[]` |
|
||||
| `updateJob.priorityClassName` | Priority class name | `""` |
|
||||
| `updateJob.resources.limits` | The resources limits for the container | `{}` |
|
||||
| `updateJob.resources.requests` | The requested resources for the container | `{}` |
|
||||
|
||||
### Cluster management parameters
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ metadata:
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": post-upgrade
|
||||
"helm.sh/hook": {{ .Values.updateJob.helmHook }}
|
||||
{{- if or .Values.updateJob.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.updateJob.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
|
||||
@@ -654,6 +654,10 @@ updateJob:
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
## @param updateJob.helmHook Job Helm hook
|
||||
## https://helm.sh/docs/topics/charts_hooks/#the-available-hooks
|
||||
##
|
||||
helmHook: post-upgrade
|
||||
## @param updateJob.annotations Job annotations
|
||||
##
|
||||
annotations: {}
|
||||
|
||||
Reference in New Issue
Block a user