From 83255efc4597ffd019dfb066a3f993c4eb5b1153 Mon Sep 17 00:00:00 2001 From: Cody Shoffner Date: Wed, 4 Dec 2024 14:50:38 -0600 Subject: [PATCH 1/2] chore: update custom network properties key --- chart/templates/uds-package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/uds-package.yaml b/chart/templates/uds-package.yaml index 27149464..aa05f815 100644 --- a/chart/templates/uds-package.yaml +++ b/chart/templates/uds-package.yaml @@ -129,7 +129,7 @@ spec: description: "Mattermost Postgres" # Custom rules for unanticipated scenarios - {{- range .Values.custom }} + {{- range .Values.additionalNetworkAllow }} - direction: {{ .direction }} selector: {{ .selector | toYaml | nindent 10 }} From aa544337430afd24cfb0194198bfd0d0a36272d4 Mon Sep 17 00:00:00 2001 From: Cody Shoffner Date: Mon, 9 Dec 2024 08:52:42 -0600 Subject: [PATCH 2/2] chore: update custom network properties key --- chart/values.yaml | 2 +- docs/configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/values.yaml b/chart/values.yaml index 2d3c5f51..3ca92844 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -73,7 +73,7 @@ storage: namespace: minio port: 9000 -# custom: +# additionalNetworkAllow: # # Notice no `remoteGenerated` field here on custom internal rule # - direction: Ingress # selector: diff --git a/docs/configuration.md b/docs/configuration.md index bef91a5e..4249ee3a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -9,7 +9,7 @@ Network policies are controlled via the `uds-mattermost-config` chart in accorda - `postgres`: sets network policies for accessing a Postgres database from the Mattermost pod - `storage`: sets network policies for accessing S3-compatible object storage from the Mattermost pod -- `custom`: sets custom network policies for the Mattermost namespace - this allows for custom integrations with other services +- `additionalNetworkAllow`: sets custom network policies for the Mattermost namespace - this allows for custom integrations with other services ## Database