allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION (#13244)

* allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* switched to ExtraEnvArgs

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* Bumped App and Tag version to 2.1.6

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* added example to comment in values.yaml

Signed-off-by: Christian Hüning <christian.huening@figo.io>
This commit is contained in:
Christian Hüning
2019-04-25 21:54:25 -07:00
committed by Kubernetes Prow Robot
parent 94c90339f7
commit f4bb13e508
4 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
name: cockroachdb
home: https://www.cockroachlabs.com
version: 2.1.1
appVersion: 2.1.5
version: 2.1.2
appVersion: 2.1.6
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
sources:
+1
View File
@@ -104,6 +104,7 @@ The following table lists the configurable parameters of the CockroachDB chart a
| `Locality` | Locality attribute for this deployment | `""` |
| `ExtraArgs` | Additional command-line arguments | `[]` |
| `ExtraSecretMounts` | Additional secrets to mount at cluster members | `[]` |
| `ExtraEnvArgs` | Allows to set extra ENV args | `[]` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
@@ -283,6 +283,9 @@ spec:
value: "{{ printf "%s-%s" .Release.Name .Values.Name | trunc 56 }}.{{ .Release.Namespace }}.svc.{{ .Values.ClusterDomain }}"
- name: COCKROACH_CHANNEL
value: kubernetes-helm
{{- if .Values.ExtraEnvArgs }}
{{ toYaml .Values.ExtraEnvArgs | indent 8 }}
{{- end }}
volumeMounts:
- name: datadir
mountPath: /cockroach/cockroach-data
+7 -1
View File
@@ -5,7 +5,7 @@
Name: "cockroachdb"
Image: "cockroachdb/cockroach"
ImageTag: "v2.1.5"
ImageTag: "v2.1.6"
ImagePullPolicy: "Always"
Replicas: 3
MaxUnavailable: 1
@@ -72,3 +72,9 @@ Locality: ""
ExtraArgs: []
# ExtraSecretMounts is a list of names from secrets in the same namespace as the cockroachdb cluster, which shall be mounted into /etc/cockroach/secrets/ for every cluster member.
ExtraSecretMounts: []
# ExtraEnvArgs is a list of name,value tuples providing extra ENV variables.
# e.g.:
# ExtraEnvArgs:
# - name: COCKROACH_ENGINE_MAX_SYNC_DURATION
# value: "24h"
ExtraEnvArgs: []