Skip to content

fix(k8s): network policy peers name only namespaces that exist (#1656) - #2302

Merged
dan-petty merged 1 commit into
mainfrom
fix/1656-network-policy-namespaces
Oct 26, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/1656-network-policy-namespaces

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Remove the nonexistent devops-cli namespace peer from the Portkey perimeter NetworkPolicy and the nonexistent ingress namespace peer from the OpenTelemetry perimeter NetworkPolicy.
Add an automated invariant test asserting that every namespaceSelector in Kubernetes NetworkPolicies names a declared or built-in namespace.

Closes #1656

Change: openspec/changes/archive/2026-10-26-1656-network-policy-namespaces/

Remove the nonexistent devops-cli namespace peer from the Portkey perimeter NetworkPolicy and the nonexistent ingress namespace peer from the OpenTelemetry perimeter NetworkPolicy.
Add an automated invariant test asserting that every namespaceSelector in Kubernetes NetworkPolicies names a declared or built-in namespace.

Closes #1656

Change: `openspec/changes/archive/2026-10-26-1656-network-policy-namespaces/`
@dan-petty
dan-petty marked this pull request as ready for review October 26, 2026 15:38
@dan-petty
dan-petty merged commit c77b6e3 into main Oct 26, 2026
17 checks passed
@dan-petty
dan-petty deleted the fix/1656-network-policy-namespaces branch October 26, 2026 15:38
dan-petty pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.4](v0.6.3...v0.6.4)
(2026-10-26)


### Bug Fixes

* **devcontainer:** report a developer tool's failed installer download
as a failure
([#2304](#2304))
([6ca95c1](6ca95c1))
* **k8s:** network policy peers name only namespaces that exist
([#1656](#1656))
([#2302](#2302))
([c77b6e3](c77b6e3))
* **k8s:** skip post-Helm deletes whose CRD is not installed
([#2307](#2307))
([fe01b30](fe01b30)),
closes [#1818](#1818)
* **k8s:** warn on kubectl and kubelet version skew in doctor and
deploy-stack
([#2306](#2306))
([001a7af](001a7af)),
closes [#1640](#1640)
* **review:** do not cache rejected review plan replies
([#1810](#1810))
([#2308](#2308))
([aece067](aece067))


### Performance Improvements

* **ci:** the Static Analysis job runs Bandit once
([#2305](#2305))
([9cca449](9cca449)),
closes [#1746](#1746)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): network policy peers name only namespaces that exist, starting with portkey-perimeter's devops-cli peer

1 participant