diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c3a1abe76616a42ce82c64ba3aa3be2bba760cc..94784d7391c70ef89ebbf0f1b6f1d0882760134e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [0.1.6-bb.8] - 2021-07-21 +### Changed +- Add openshift toggle, conditionally add port 5353 egress. Changing "openshift:" to true in values.yaml will enable. + ## [0.1.6-bb.7] - 2021-07-08 ### Changed - Update Mattermost to version 5.36.1 diff --git a/chart/Chart.yaml b/chart/Chart.yaml index a2aa83f69d5d225c0e421ab310fbdf1f0cfd0940..f39880dd28f61794a4ddaa38ea66462925e6fffd 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: mattermost type: application -version: "0.1.6-bb.7" +version: "0.1.6-bb.8" appVersion: "5.36.1" description: "Deployment of mattermost" keywords: diff --git a/chart/templates/bigbang/networkpolicies/allow-dns-egress.yaml b/chart/templates/bigbang/networkpolicies/allow-dns-egress.yaml index 419d4461ef31442b4170ece15de6f8ea8faaccf9..fbf5d4a189547b4a61cb009468e43ca86b08109e 100644 --- a/chart/templates/bigbang/networkpolicies/allow-dns-egress.yaml +++ b/chart/templates/bigbang/networkpolicies/allow-dns-egress.yaml @@ -15,4 +15,8 @@ spec: ports: - port: 53 protocol: UDP + {{- if .Values.openshift }} + - port: 5353 + protocol: UDP + {{- end }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index b0f475f007896f3421c4262384a6d3b9abde28ba..c4a81376eab09efa91f51b103037b156d20268d3 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -193,3 +193,5 @@ elasticsearch: enablesearching: true # When true, Elasticsearch will be used for all autocompletion queries on users and channels using the latest index. Autocompletion results may be incomplete until a bulk index of the existing users and channels database is finished. When false, database autocomplete is used. enableautocomplete: true + +openshift: false