[incubator/couchdb] service.yaml: Added annotations option. (#12211)

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
This commit is contained in:
Jon Davies
2019-03-25 10:18:17 -07:00
committed by Kubernetes Prow Robot
parent e88e95742d
commit 2e6e0a9458
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: couchdb
version: 1.1.1
version: 1.1.2
appVersion: 2.3.0
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for
+1
View File
@@ -125,6 +125,7 @@ A variety of other parameters are also configurable. See the comments in the
| `podManagementPolicy` | Parallel |
| `affinity` | |
| `resources` | |
| `service.annotations` | |
| `service.enabled` | true |
| `service.type` | ClusterIP |
| `service.externalPort` | 5984 |
+4
View File
@@ -8,6 +8,10 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
ports:
- port: {{ .Values.service.externalPort }}
+1
View File
@@ -77,6 +77,7 @@ affinity:
## chart without any additional configuration. The Service block below refers
## to a second Service that governs how clients connect to the CouchDB cluster.
service:
# annotations:
enabled: true
type: ClusterIP
externalPort: 5984