feat: replace redis with valkey as cache backend#23157
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23157 +/- ##
==========================================
- Coverage 66.02% 65.99% -0.03%
==========================================
Files 1074 1074
Lines 116793 116793
Branches 2955 2955
==========================================
- Hits 77110 77081 -29
- Misses 35407 35439 +32
+ Partials 4276 4273 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
wy65701436
reviewed
Apr 22, 2026
wy65701436
reviewed
Apr 22, 2026
Signed-off-by: chlins <[email protected]>
chlins
enabled auto-merge (squash)
April 28, 2026 05:57
stonezdj
approved these changes
Apr 28, 2026
5 tasks
chlins
added a commit
to chlins/harbor
that referenced
this pull request
May 19, 2026
Signed-off-by: chlins <[email protected]>
chlins
added a commit
to chlins/harbor
that referenced
this pull request
May 19, 2026
Signed-off-by: chlins <[email protected]>
chlins
added a commit
to chlins/harbor
that referenced
this pull request
May 20, 2026
Signed-off-by: chlins <[email protected]>
wy65701436
pushed a commit
that referenced
this pull request
May 22, 2026
… (#23261) feat: replace redis with valkey as cache backend (#23157) Signed-off-by: chlins <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jun 11, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Signed-off-by: Prasanth Baskar <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jun 23, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Co-authored-by: Prasanth Baskar <[email protected]> Signed-off-by: Chlins Zhang <[email protected]> Signed-off-by: Prasanth Baskar <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jun 23, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Signed-off-by: Prasanth Baskar <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jun 23, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Co-authored-by: Prasanth Baskar <[email protected]> Signed-off-by: Chlins Zhang <[email protected]> Signed-off-by: Prasanth Baskar <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jun 23, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Co-authored-by: Prasanth Baskar <[email protected]> Signed-off-by: Chlins Zhang <[email protected]> Signed-off-by: Prasanth Baskar <[email protected]>
bupd
added a commit
to container-registry/harbor-next
that referenced
this pull request
Jul 2, 2026
Upstream-PR: goharbor/harbor#23157 Upstream-Author: @chlins Co-authored-by: Prasanth Baskar <[email protected]> Signed-off-by: Chlins Zhang <[email protected]> Signed-off-by: Prasanth Baskar <[email protected]> (cherry picked from commit 8b68b94)
dasomel
added a commit
to dasomel/harbor
that referenced
this pull request
Jul 5, 2026
…oded matrix Upstream renamed make/photon/redis to make/photon/valkey between v2.15.1 and v2.15.2 (goharbor#23157), but build-package.yml's matrix was never updated — a pre-existing bug on main itself, since main's own source tree already has valkey, not redis. A single static matrix can't build both v2.15.0/ v2.15.1 (redis) and v2.15.2+ (valkey) release_tag checkouts, so the matrix is now discovered at runtime from whichever source tree is actually checked out, self-adapting to this rename (and any future one).
dasomel
added a commit
to dasomel/harbor
that referenced
this pull request
Jul 7, 2026
…ation - README: add Known Limitations (exporter amd64-only on v2.15.x tags, root-caused to upstream GOARCH=amd64 hardcode since v2.2.0; fix goharbor#22311 is master-only/unreleased) + :latest-tracks-newest-build note + redis->valkey (v2.15.2, goharbor#23157) cache-backend note. - plan doc: correct the false "v2.15.2+ ships multiarch exporter" claim (multiarch exporter Dockerfile is fork-main-only, absent from all GA tags) and record the 2026-07-07 :latest->v2.15.2 reconciliation run (run 28865019658; latest==v2.15.2 verified for all 7 tag-published components incl valkey-photon). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
dasomel
added a commit
to dasomel/harbor
that referenced
this pull request
Jul 7, 2026
…udit gaps A missing redis-photon:v2.15.2 is expected, not a coverage gap: upstream replaced Redis with Valkey in v2.15.2 (goharbor#23157), so the internal-cache image is valkey-photon for v2.15.2+ (multi-arch) and redis-photon only for v2.15.0/v2.15.1. Auditors should check valkey-photon for v2.15.2+. - README: strengthen cache-backend note with explicit "expected, not a gap". - arm64-build-guide: version-scope the redis/valkey component row and add a valkey-photon hint to the Helm internal-cache example. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for contributing to Harbor!
Comprehensive Summary of your change
This pull request migrates Harbor's internal caching service from Redis to Valkey. The changes update all relevant build files, Dockerfiles, and configuration templates to replace Redis with Valkey, ensuring Harbor uses Valkey for caching in both runtime and build/test environments.
Key changes include:
Build System and Docker Images:
Makefileandmake/photon/Makefileto remove Redis-related build targets and add Valkey equivalents, including image naming and build logic. All references toredis-photonare replaced withvalkey-photon. [1] [2] [3] [4] [5]make/photon/valkey/Dockerfile,make/photon/valkey/Dockerfile.base) and removed old Redis Dockerfiles (make/photon/redis/Dockerfile,make/photon/redis/Dockerfile.base). Healthcheck scripts and configuration files are also migrated. [1] [2] [3] [4] [5] [6]Configuration and Templates:
valkey-photonimage instead ofredis-photonfor the default internal cache service.CI/CD and Testing:
These changes ensure Harbor now uses Valkey as its internal cache, fully replacing Redis in both build and runtime environments.
Issue being fixed
Fixes #22935
Please indicate you've done the following: