diff --git a/CHANGELOG.md b/CHANGELOG.md index af2294720f6475e971f0134a657cc948120329a4..3264095990ffb338eab43c40a71c7a85b4121784 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), --- +## [0.1.13-bb.0] - 2021-06-04 +### Added +- Network Policy templates. Allow ingress from mattermost to elasticsearch + ## [0.1.12-bb.0] - 2021-06-03 ### Added - Network Policy templates. Allow cluster ingress, egress to kube-dns, istiod, ingress from istio-ingressgateway, and ingress from jager pods & eck-operator pods. diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 6eac252373874af6cf467cfe4bbcaa49ff8d63e6..4ece8c4a0c463364d066ae264a60cf862c6174c3 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: logging -version: 0.1.12-bb.0 +version: 0.1.13-bb.0 appVersion: 7.10.0 dependencies: - name: bb-test-lib diff --git a/chart/templates/bigbang/networkpolicies/es-allow.yaml b/chart/templates/bigbang/networkpolicies/es-allow.yaml index b5c4452a8cc359be10595317d94ac912b760ebc4..92afb8dabc2396895a1e6a15bd741ce8fe0d41a6 100644 --- a/chart/templates/bigbang/networkpolicies/es-allow.yaml +++ b/chart/templates/bigbang/networkpolicies/es-allow.yaml @@ -42,4 +42,27 @@ spec: common.k8s.elastic.co/type: elasticsearch policyTypes: - Ingress +--- +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: es-communication-mattermost + namespace: {{ .Release.Namespace }} +spec: + ingress: + - from: + - namespaceSelector: + matchLabels: + app.kubernetes.io/name: mattermost + podSelector: + matchLabels: + app: mattermost + ports: + - port: 9200 + protocol: TCP + podSelector: + matchLabels: + common.k8s.elastic.co/type: elasticsearch + policyTypes: + - Ingress {{- end }}