Skip to content

Commit

Permalink
chore: update custom network properties key
Browse files Browse the repository at this point in the history
  • Loading branch information
codyshoffner committed Dec 9, 2024
1 parent b744ea7 commit 1003e59
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions bundle/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ packages:
rekor:
uds-rekor-config:
values:
- path: custom
- path: additionalNetworkAllow
value:
- direction: Egress
remoteNamespace: istio-tenant-gateway
Expand Down Expand Up @@ -66,7 +66,7 @@ packages:
tsa:
uds-tsa-config:
values:
- path: custom
- path: additionalNetworkAllow
value:
- direction: Egress
remoteNamespace: istio-tenant-gateway
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Sigstore's components in this package are configured through their upstream [Sig

## Networking

Network policies are controlled via the configuration charts in accordance with the [common patterns for networking within UDS Software Factory](https://github.com/defenseunicorns/uds-software-factory/blob/main/docs/networking.md). Sigstore primarily interacts between its own components and with OIDC provides such as `sso.<domain>` and `gitlab.<domain>`. If you do have other use cases however you can configure additional network policies with the `custom` key for a given component.
Network policies are controlled via the configuration charts in accordance with the [common patterns for networking within UDS Software Factory](https://github.com/defenseunicorns/uds-software-factory/blob/main/docs/networking.md). Sigstore primarily interacts between its own components and with OIDC provides such as `sso.<domain>` and `gitlab.<domain>`. If you do have other use cases however you can configure additional network policies with the `additionalNetworkAllow` key for a given component.

## Certificates

Expand Down
2 changes: 1 addition & 1 deletion src/ctlog/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
app.kubernetes.io/name: fulcio

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/ctlog/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []

keyPassword: ""

Expand Down
2 changes: 1 addition & 1 deletion src/dev-openbao/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
remoteGenerated: IntraNamespace

# Custom rules for unanticipated scenarios
{{- range .Values.custom }}
{{- range .Values.custadditionalNetworkAllowom }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/dev-openbao/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion src/fulcio/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
description: "UDS Tenant Gateway Services"

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/fulcio/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion src/rekor/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
app.kubernetes.io/name: rekor

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/rekor/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion src/trillian/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
app.kubernetes.io/component: log-server

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/trillian/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion src/tsa/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
app.kubernetes.io/name: tsa

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/tsa/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion src/tuf/chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
remoteGenerated: KubeAPI

# Custom rules to allow clients to connect
{{- range .Values.custom }}
{{- range .Values.additionalNetworkAllow }}
- direction: {{ .direction }}
selector:
{{ .selector | toYaml | nindent 10 }}
Expand Down
2 changes: 1 addition & 1 deletion src/tuf/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

custom: []
additionalNetworkAllow: []

secrets:
fulcio: |
Expand Down

0 comments on commit 1003e59

Please sign in to comment.