Skip to content

Commit

Permalink
chore!: update custom network properties key (#178)
Browse files Browse the repository at this point in the history
- Updating all instances of `custom: []` to `additionalNetworkAllow: []`

> [!CAUTION]
> **BREAKING CHANGE** `custom` has changed to `additionalNetworkAllow`

Related Issue:
https://github.com/orgs/defenseunicorns/projects/118/views/12?pane=issue&itemId=87152090&issue=defenseunicorns%7Cuds-package-maintenance%7C5

---------

Co-authored-by: zamaz <[email protected]>
  • Loading branch information
codyshoffner and zachariahmiller authored Dec 13, 2024
1 parent b888b2a commit 6ecf5b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ storage:
namespace: minio
port: 9000

# custom:
# additionalNetworkAllow:
# # Notice no `remoteGenerated` field here on custom internal rule
# - direction: Ingress
# selector:
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6ecf5b2

Please sign in to comment.