mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-17 17:16:30 +10:00
feat: add etcd nodeselctor & toleration on disasterRecovery (#7984)
Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
This commit is contained in:
@@ -24,4 +24,4 @@ name: etcd
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-etcd
|
||||
- https://coreos.com/etcd/
|
||||
version: 6.9.4
|
||||
version: 6.10.0
|
||||
|
||||
@@ -262,6 +262,8 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `disasterRecovery.cronjob.podAnnotations` | Pod annotations for cronjob pods | `{}` |
|
||||
| `disasterRecovery.cronjob.resources.limits` | Cronjob container resource limits | `{}` |
|
||||
| `disasterRecovery.cronjob.resources.requests` | Cronjob container resource requests | `{}` |
|
||||
| `disasterRecovery.cronjob.nodeSelector` | Node labels for cronjob pods assignment | `{}` |
|
||||
| `disasterRecovery.cronjob.tolerations` | Tolerations for cronjob pods assignment | `[]` |
|
||||
| `disasterRecovery.pvc.existingClaim` | A manually managed Persistent Volume and Claim | `""` |
|
||||
| `disasterRecovery.pvc.size` | PVC Storage Request | `2Gi` |
|
||||
| `disasterRecovery.pvc.storageClassName` | Storage Class for snapshots volume | `nfs` |
|
||||
|
||||
@@ -25,6 +25,12 @@ spec:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.disasterRecovery.cronjob.podAnnotations "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.disasterRecovery.cronjob.nodeSelector }}
|
||||
nodeSelector: {{- toYaml .Values.disasterRecovery.cronjob.nodeSelector | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.disasterRecovery.cronjob.tolerations }}
|
||||
tolerations: {{- toYaml .Values.disasterRecovery.cronjob.tolerations | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- include "etcd.imagePullSecrets" . | nindent 10 }}
|
||||
restartPolicy: OnFailure
|
||||
{{- if .Values.podSecurityContext.enabled }}
|
||||
|
||||
@@ -728,6 +728,16 @@ disasterRecovery:
|
||||
## memory: 1Gi
|
||||
limits: {}
|
||||
requests: {}
|
||||
|
||||
## @param disasterRecovery.cronjob.nodeSelector Node labels for cronjob pods assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector: {}
|
||||
## @param disasterRecovery.cronjob.tolerations Tolerations for cronjob pods assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
pvc:
|
||||
## @param disasterRecovery.pvc.existingClaim A manually managed Persistent Volume and Claim
|
||||
## If defined, PVC must be created manually before volume will be bound
|
||||
|
||||
Reference in New Issue
Block a user