From b6d55fcdfb9e4e0d228828661d839c2e7fb55952 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 4 Jun 2024 10:38:08 +0100 Subject: [PATCH] Give the Service default port (5984) a name so that it is not ambiguous if service.extraPorts are used. (#156) --- couchdb/Chart.yaml | 2 +- couchdb/NEWS.md | 4 ++++ couchdb/templates/service.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/couchdb/Chart.yaml b/couchdb/Chart.yaml index cb44e7b..8603866 100644 --- a/couchdb/Chart.yaml +++ b/couchdb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: couchdb -version: 4.5.4 +version: 4.5.5 appVersion: 3.3.3 description: A database featuring seamless multi-master sync, that scales from big data to mobile, with an intuitive HTTP/JSON API and designed for diff --git a/couchdb/NEWS.md b/couchdb/NEWS.md index a723e55..849e06f 100644 --- a/couchdb/NEWS.md +++ b/couchdb/NEWS.md @@ -1,5 +1,9 @@ # NEWS +## 4.5.5 + +- Give the default port on the CouchDB `Service` a name so that `service.extraPorts` can be used properly. + ## 4.5.4 - Expose `extraPorts` and `service.extraPorts` to allow specifying arbitrary ports to be exposed from the CouchDB pods diff --git a/couchdb/templates/service.yaml b/couchdb/templates/service.yaml index 815d47c..69086b6 100644 --- a/couchdb/templates/service.yaml +++ b/couchdb/templates/service.yaml @@ -18,6 +18,7 @@ metadata: spec: ports: - port: {{ .Values.service.externalPort }} + name: couchdb protocol: TCP targetPort: {{ .Values.service.targetPort }} {{ with .Values.service.extraPorts }}