diff --git a/stable/cockroachdb/Chart.yaml b/stable/cockroachdb/Chart.yaml index b9b79730e0..bb5b0cc50d 100755 --- a/stable/cockroachdb/Chart.yaml +++ b/stable/cockroachdb/Chart.yaml @@ -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 diff --git a/stable/cockroachdb/README.md b/stable/cockroachdb/README.md index d8288cf0c5..10a535383a 100644 --- a/stable/cockroachdb/README.md +++ b/stable/cockroachdb/README.md @@ -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`. diff --git a/stable/cockroachdb/templates/cockroachdb-statefulset.yaml b/stable/cockroachdb/templates/cockroachdb-statefulset.yaml index e55e05023c..1cc1fa14cd 100644 --- a/stable/cockroachdb/templates/cockroachdb-statefulset.yaml +++ b/stable/cockroachdb/templates/cockroachdb-statefulset.yaml @@ -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 }}" diff --git a/stable/cockroachdb/values.yaml b/stable/cockroachdb/values.yaml index 0f8a165257..24b5c1c71c 100644 --- a/stable/cockroachdb/values.yaml +++ b/stable/cockroachdb/values.yaml @@ -51,6 +51,7 @@ PodManagementPolicy: Parallel UpdateStrategy: type: RollingUpdate NodeSelector: {} +Tolerations: {} Secure: Enabled: false RequestCertsImage: "cockroachdb/cockroach-k8s-request-cert"