Skip to content

Sync develop → main for v1.7.1 chart release (egress-enforcement preflight helm test, inert)#254

Open
saadqbal wants to merge 3 commits into
mainfrom
sync/develop-to-main-v1.7.1
Open

Sync develop → main for v1.7.1 chart release (egress-enforcement preflight helm test, inert)#254
saadqbal wants to merge 3 commits into
mainfrom
sync/develop-to-main-v1.7.1

Conversation

@saadqbal

@saadqbal saadqbal commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Release chart v1.7.1 to main. All changes are additive and inert — no behavioural change on the fleet at upgrade time.

Contents (main 1.7.0 → develop 1.7.1)

Release type

Phase-1-class: inert. The enforcement check ships dormant (lockdown default-off) and is a helm test hook, so the fleet auto-upgrade to 1.7.1 changes nothing operationally — it just makes helm test <release> available to operators who flip the lockdown.

After merge

Publish GitHub Release v1.7.1 tagged on main → the release workflow packages the chart to gh-pages → fleet auto-upgrades at :23.

Rolls under the §8.2 egress epic (client-runtime#102, client-runtime#104).

🤖 Generated with Claude Code


Note

Low Risk
Default upgrades stay behavior-neutral; the enforcement Job is a manual helm test hook and only appears when operators enable the egress lockdown.

Overview
Releases chart v1.7.1 with additive, mostly inert changes for the default fleet (allowExternalHttps stays true).

Adds an optional §8.2 egress enforcement path: new networkPolicy.training.enforcementProbeHost (default 1.1.1.1, "" disables) and a gated helm.sh/hook: test Job that only renders when training NetworkPolicy is on, lockdown is enabled (allowExternalHttps=false), and a probe host is set. The probe runs as a training-labelled, hardened curl pod and fails helm test if direct HTTPS to the probe host succeeds—surfacing CNI egress policies that are not actually enforced. It does not run on install/upgrade.

Adds helm-unittest coverage for the enforcement hook template and for logs and mysql storage PVC templates (dynamic PVC vs hostPath PV+PVC, keep annotation, sizing, storage class).

Reviewed by Cursor Bugbot for commit f09d98c. Bugbot is set up for automated code reviews on this repo. Configure here.

saadqbal and others added 3 commits June 12, 2026 15:55
…250)

The mysql-storage-pvc template (PVC + bare-metal hostPath PV backing the
per-cluster MySQL state store) had no dedicated suite. Add one covering:
- dynamic-PVC-only path (hostPath.enabled=false, managed default)
- hostPath PV+PVC pair, claimRef binding, fixed release-scoped path
- the helm.sh/resource-policy:keep annotation protecting the state store
- access-mode defaulting, pvc size, and storageClass wiring

Tests-only; no source/template/values changes. Security invariants unchanged.

Co-authored-by: Claude <noreply@anthropic.com>
The logs-pvc template (PV + PVC for client logs) had no dedicated
helm-unittest suite. Adds tests/logs_pvc_test.yaml covering the
dynamic-provisioning PVC path and the hostPath PV+PVC path.

Co-authored-by: Claude <noreply@anthropic.com>
feat(egress-proxy): deploy-time egress-enforcement pre-flight (non-blocking) [client-runtime#104]
@saadqbal saadqbal added the skip-fr-gate Bypass FR gate for this PR (use only for bootstrap or emergencies — visible in audit) label Jun 12, 2026
@saadqbal saadqbal self-assigned this Jun 12, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f09d98c. Configure here.

Comment thread client/templates/egress-enforcement-check.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-fr-gate Bypass FR gate for this PR (use only for bootstrap or emergencies — visible in audit)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants