Skip to content

Commit a1dfd8b

Browse files
authored
Add extraPorts to the network policy when it is enabled. (#157)
1 parent b6d55fc commit a1dfd8b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

couchdb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: couchdb
3-
version: 4.5.5
3+
version: 4.5.6
44
appVersion: 3.3.3
55
description: A database featuring seamless multi-master sync, that scales from
66
big data to mobile, with an intuitive HTTP/JSON API and designed for

couchdb/NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# NEWS
22

3+
## 4.5.6
4+
5+
- Add `extraPorts` to the network policy when the network policy is enabled.
6+
37
## 4.5.5
48

59
- Give the default port on the CouchDB `Service` a name so that `service.extraPorts` can be used properly.

couchdb/templates/networkpolicy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ spec:
2121
- protocol: TCP
2222
port: {{ .Values.prometheusPort.port }}
2323
{{- end }}
24+
{{ range .Values.extraPorts }}
25+
- protocol: TCP
26+
port: {{ .containerPort }}
27+
{{ end }}
2428
- ports:
2529
- protocol: TCP
2630
port: 9100

0 commit comments

Comments
 (0)