mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added a Tolerations option which is applied to the pods in the stateful set (#7369)
This commit is contained in:
committed by
k8s-ci-robot
parent
d9d686b1a9
commit
adb3bc965a
@@ -1,6 +1,6 @@
|
||||
name: cockroachdb
|
||||
home: https://www.cockroachlabs.com
|
||||
version: 1.2.3
|
||||
version: 1.2.4
|
||||
appVersion: 2.0.5
|
||||
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
|
||||
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
|
||||
|
||||
@@ -75,6 +75,7 @@ The following table lists the configurable parameters of the CockroachDB chart a
|
||||
| `Secure.RequestCertsImageTag` | Image tag to use for requesting TLS certificates | `0.3` |
|
||||
| `Secure.ServiceAccount.Create` | Whether to create a new RBAC service account | `true` |
|
||||
| `Secure.ServiceAccount.Name` | Name of RBAC service account to use | `` |
|
||||
| `Tolerations` | [Kubernetes tolerations](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) to label the pods in the StatefulSet with | `` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
|
||||
@@ -237,6 +237,10 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.NodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.Tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.Tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: "{{ printf "%s-%s" .Release.Name .Values.Name | trunc 56 }}"
|
||||
image: "{{ .Values.Image }}:{{ .Values.ImageTag }}"
|
||||
|
||||
@@ -51,6 +51,7 @@ PodManagementPolicy: Parallel
|
||||
UpdateStrategy:
|
||||
type: RollingUpdate
|
||||
NodeSelector: {}
|
||||
Tolerations: {}
|
||||
Secure:
|
||||
Enabled: false
|
||||
RequestCertsImage: "cockroachdb/cockroach-k8s-request-cert"
|
||||
|
||||
Reference in New Issue
Block a user