Add an option for ExtraAnnotations for the StatefulSet (#13400)

Signed-off-by: Christian Hüning <christian.huening@figo.io>
This commit is contained in:
Christian Hüning
2019-05-01 21:28:17 -07:00
committed by Kubernetes Prow Robot
parent 3aa951d5c9
commit 8ae73a4fd9
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: cockroachdb
home: https://www.cockroachlabs.com
version: 2.1.3
version: 2.1.4
appVersion: 19.1.0
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
+1
View File
@@ -105,6 +105,7 @@ The following table lists the configurable parameters of the CockroachDB chart a
| `ExtraArgs` | Additional command-line arguments | `[]` |
| `ExtraSecretMounts` | Additional secrets to mount at cluster members | `[]` |
| `ExtraEnvArgs` | Allows to set extra ENV args | `[]` |
| `ExtraAnnotations` | Allows to set extra Annotations | `[]` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
@@ -192,6 +192,10 @@ spec:
component: "{{ .Release.Name }}-{{ .Values.Component }}"
template:
metadata:
{{- if .Values.ExtraAnnotations }}
annotations:
{{ toYaml .Values.ExtraAnnotations | indent 8 }}
{{- end }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
+5
View File
@@ -78,3 +78,8 @@ ExtraSecretMounts: []
# - name: COCKROACH_ENGINE_MAX_SYNC_DURATION
# value: "24h"
ExtraEnvArgs: []
# ExtraAnnotations is an object to provide additional annotations to the Statefulset
# e.g.:
# ExtraAnnotations:
# key: values
ExtraAnnotations: {}