mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cockroachdb] labels for cockroachdb service (#18233)
* Add labels to cockroachdb service and servicediscovery-service Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net> Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net> * update README.md to cover new values Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net> Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net> * Chart version bump Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net> Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
50d5e6c9dd
commit
be4c085ce6
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: cockroachdb
|
||||
home: https://www.cockroachlabs.com
|
||||
version: 2.1.15
|
||||
version: 2.1.16
|
||||
appVersion: 19.1.5
|
||||
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
|
||||
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
|
||||
|
||||
@@ -190,6 +190,8 @@ The following table lists the configurable parameters of the CockroachDB chart a
|
||||
| `NetworkPolicy.AllowExternal` | Don't require client label for connections | `true` |
|
||||
| `Service.Type` | Public service type | `ClusterIP` |
|
||||
| `Service.Annotations` | Annotations to apply to the service | `{}` |
|
||||
| `Service.labels` | Labels to apply to the service | `{}` |
|
||||
| `ServiceDiscovery.labels` | Labels to apply to the service for discovery | `{}` |
|
||||
| `PodManagementPolicy` | `OrderedReady` or `Parallel` pod creation/deletion order | `Parallel` |
|
||||
| `UpdateStrategy.type` | allows setting of RollingUpdate strategy | `RollingUpdate` |
|
||||
| `NodeSelector` | Node labels for pod assignment | `{}` |
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
release: {{ .Release.Name | quote }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
component: "{{ .Release.Name }}-{{ .Values.Component }}"
|
||||
{{- if .Values.ServiceDiscovery.labels }}
|
||||
{{ toYaml .Values.ServiceDiscovery.labels | indent 4 }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
# Use this annotation in addition to the actual field below because the
|
||||
# annotation will stop being respected soon but the field is broken in
|
||||
|
||||
@@ -11,6 +11,9 @@ metadata:
|
||||
release: {{ .Release.Name | quote }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
component: "{{ .Release.Name }}-{{ .Values.Component }}"
|
||||
{{- if .Values.Service.labels }}
|
||||
{{ toYaml .Values.Service.labels | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.Service.type }}
|
||||
ports:
|
||||
|
||||
@@ -59,6 +59,9 @@ NetworkPolicy:
|
||||
Service:
|
||||
type: ClusterIP
|
||||
annotations: {}
|
||||
labels: {}
|
||||
ServiceDiscovery:
|
||||
labels: {}
|
||||
PodManagementPolicy: Parallel
|
||||
UpdateStrategy:
|
||||
type: RollingUpdate
|
||||
|
||||
Reference in New Issue
Block a user