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 }} 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