Skip to content

feat(cozy-proxy): bump to v0.3.0 - #2510

Merged
Andrei Kvapil (kvaps) merged 1 commit into
mainfrom
feat/cozy-proxy-v0.3.0
Apr 28, 2026
Merged

Andrei Kvapil (kvaps) merged 1 commit into
mainfrom
feat/cozy-proxy-v0.3.0

Conversation

@kvaps

@kvaps Andrei Kvapil (kvaps) commented Apr 28, 2026 •

Copy link
Copy Markdown
Member

Bumps the vendored cozy-proxy chart and image tag from v0.2.0 to v0.3.0 by running make update in packages/system/cozy-proxy.

cozy-proxy v0.3.0 release: https://github.com/cozystack/cozy-proxy/releases/tag/v0.3.0

Why

cozy-proxy v0.3.0 is the companion of #2501. The chart fix in #2501 finally honors the documented PortList semantics (only externalPorts reachable, ICMP preserved by default), but only takes effect once cozy-proxy v0.3.0 is in place — v0.2.0 has no port-aware logic, so the chart fix silently no-ops on it. This PR ships that runtime side.

Upgrade impact

For cozystack users this is a bug fix, not a breaking change. cozy-proxy v0.3.0 introduces two contract changes upstream — (1) label-only selector via service.kubernetes.io/service-proxy-name: cozy-proxy, and (2) port-filter as the default ingress mode — both of which are absorbed by the vm-instance chart (label landed in #2357, wholeIP + allowICMP wired in #2501).

  • externalMethod: WholeIP (default) — chart renders label + wholeIP: "true" in both old and new versions. cozy-proxy keeps passthrough. No change.
  • externalMethod: PortList — previously the chart always rendered wholeIP: "true" regardless of method, and cozy-proxy v0.2.0 had no port-aware logic, so PortList was silently a no-op (all ports reachable). After this bump + [vm-instance] Fix PortList not filtering ingress ports #2501, PortList behaves as documented: only ports listed in externalPorts reach the VM. Users who configured PortList but reached undeclared ports (relying on the silent no-op) will see those ports become unreachable — that's the documented intent of PortList finally taking effect. ICMP keeps working by default thanks to externalAllowICMP: true.
  • DaemonSet rollover — re-init of the nft table during cozy-proxy pod restart is a brief blip on existing flows; same as any DaemonSet upgrade.

Out-of-tree consumers using cozy-proxy directly (without the service-proxy-name label, or relying on the absent-annotation passthrough default) need to migrate per the upstream v0.3.0 release notes — not a cozystack concern.

Order of operations

This PR is functionally complete on its own (image bump), but the user-facing PortList fix it enables only happens when #2501 also lands. Recommended merge order:

  1. [vm-instance] Fix PortList not filtering ingress ports #2501 first (chart adapts to the new contract)
  2. This PR second (cozy-proxy DaemonSet picks up the new image)

The reverse order is also safe — cozy-proxy v0.3.0 with the unmodified vm-instance chart still produces correct results for externalMethod: WholeIP (most common case) and keeps PortList silently broken until #2501 lands.

Test plan

  • helm template packages/system/cozy-proxy — image tag v0.3.0 rendered
  • make unit-tests passes
  • After [vm-instance] Fix PortList not filtering ingress ports #2501 lands, end-to-end: externalMethod: PortList with externalPorts: [22] filters all other ports, ping works
  • WholeIP-method VM Service unchanged after upgrade

Companion PRs

Summary by CodeRabbit

  • Chores
    • Released version 0.3.0 with updated Helm chart metadata and container image configuration.

Pulls in the per-port filtering and allowICMP support that the companion
vm-instance chart fix in #2501 relies on. cozy-proxy v0.3.0 also tightens
the selector to the standard service.kubernetes.io/service-proxy-name=cozy-proxy
label and switches the default ingress mode to port-filter; both are
already covered by the vm-instance chart (label landed in #2357,
wholeIP/allowICMP wired explicitly in #2501), so VM workloads upgrade
transparently.

Out-of-tree consumers using cozy-proxy annotations directly (without the
label, or relying on the absent-annotation passthrough default) are
called out in the upstream v0.3.0 release notes:
https://github.com/cozystack/cozy-proxy/releases/tag/v0.3.0

Signed-off-by: Andrei Kvapil <[email protected]>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@dosubot dosubot Bot added the size/XS This PR changes 0-9 lines, ignoring generated files label Apr 28, 2026
@github-actions github-actions Bot added area/networking Issues or PRs related to networking (ingress, gateway, vpn, metallb, kube-ovn) kind/feature Categorizes issue or PR as related to a new feature labels Apr 28, 2026
@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f5481fd8-ed9c-40cf-8c28-d1fc28a2afeb

📥 Commits

Reviewing files that changed from the base of the PR and between 82d1f8a and d202858.

📒 Files selected for processing (2)
  • packages/system/cozy-proxy/charts/cozy-proxy/Chart.yaml
  • packages/system/cozy-proxy/charts/cozy-proxy/values.yaml

📝 Walkthrough

Walkthrough

Version bump for the cozy-proxy Helm chart from 0.2.0 to 0.3.0, updating both chart metadata and container image tag to match.

Changes

Cohort / File(s) Summary
Cozy-Proxy Helm Chart Version Bump
packages/system/cozy-proxy/charts/cozy-proxy/Chart.yaml, packages/system/cozy-proxy/charts/cozy-proxy/values.yaml
Chart version and appVersion incremented from 0.2.0 to 0.3.0; container image tag updated to v0.3.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A version hops forward, 0.3 takes flight,
Chart and image tags aligned just right,
From 0.2.0 they did arise,
A bump most simple, before our eyes! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: bumping cozy-proxy from v0.2.0 to v0.3.0 in the Helm chart.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/cozy-proxy-v0.3.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Apr 28, 2026
@kvaps
Andrei Kvapil (kvaps) merged commit d2b4a44 into main Apr 28, 2026
13 checks passed
@kvaps
Andrei Kvapil (kvaps) deleted the feat/cozy-proxy-v0.3.0 branch April 28, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Issues or PRs related to networking (ingress, gateway, vpn, metallb, kube-ovn) kind/feature Categorizes issue or PR as related to a new feature lgtm This PR has been approved by a maintainer size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants