mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add an option for ExtraAnnotations for the StatefulSet (#13400)
Signed-off-by: Christian Hüning <christian.huening@figo.io>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3aa951d5c9
commit
8ae73a4fd9
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user