From ac9c082fc3ae62528b79e5de4f4f4293a1942569 Mon Sep 17 00:00:00 2001 From: Brendon Lloyd Date: Wed, 21 Jul 2021 10:30:19 -1000 Subject: [PATCH] Add port 5353 for openshift DNS --- CHANGELOG.md | 4 ++++ chart/Chart.yaml | 2 +- chart/templates/bigbang/networkpolicies/allow-dns-egress.yaml | 4 ++++ chart/values.yaml | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c3a1ab..94784d7 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 a2aa83f..f39880d 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 419d446..fbf5d4a 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 b0f475f..c4a8137 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 -- GitLab