Skip to content

Added support for external etcd to CacheServer#170

Merged
kcp-ci-bot merged 2 commits intokcp-dev:mainfrom
gman0:cacheservers-external-etcd
Mar 6, 2026
Merged

Added support for external etcd to CacheServer#170
kcp-ci-bot merged 2 commits intokcp-dev:mainfrom
gman0:cacheservers-external-etcd

Conversation

@gman0
Copy link
Copy Markdown
Contributor

@gman0 gman0 commented Mar 4, 2026

Summary

This PR adds etcd configuration to CacheServer spec, making it possible to reference an external etcd cluster.

What Type of PR Is This?

/kind api-change
/kind feature

Related Issue(s)

Fixes #157

Release Notes

CacheServer now supports referencing an external etcd cluster

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API dco-signoff: yes Indicates the PR's author has signed the DCO. kind/feature Categorizes issue or PR as related to a new feature. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 4, 2026
@gman0 gman0 force-pushed the cacheservers-external-etcd branch 2 times, most recently from 7c809b2 to 0ef3377 Compare March 5, 2026 12:33
if hasKcpTag {
switch kcpTag {
case "release-0.28", "release-0.29", "release-30":
t.Skip("running external etcd with cache-server is only supported with kcp >=0.31")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We either do this, or add a feature gate and do #171.

@gman0 gman0 force-pushed the cacheservers-external-etcd branch 3 times, most recently from 25b6021 to 4e9c0f7 Compare March 5, 2026 17:45
hack/ci/run-e2e-tests.sh now exports kcp release (KCP_TAG passed from .prow.yaml)
as KCP_RELEASE environment variable.

This is a semi-temporary solution for checking what kcp version the operator is deploying.
@gman0 gman0 force-pushed the cacheservers-external-etcd branch from 4e9c0f7 to ae53d1a Compare March 5, 2026 17:50
On-behalf-of: @SAP robert.vasek@sap.com
Signed-off-by: Robert Vasek <robert.vasek@clyso.com>
@gman0 gman0 force-pushed the cacheservers-external-etcd branch from ae53d1a to a8fff5f Compare March 5, 2026 18:46
@gman0 gman0 added the tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges. label Mar 5, 2026
@xrstf
Copy link
Copy Markdown
Contributor

xrstf commented Mar 6, 2026

/approve
/lgtm

I like it. :)

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 6, 2026
@kcp-ci-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xrstf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot
Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 89590f17b4e5b52bad6eebccfc664d2591ea5aae

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 6, 2026
@kcp-ci-bot kcp-ci-bot merged commit 96aafa1 into kcp-dev:main Mar 6, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tide/merge-method-merge Denotes a PR that should use a standard merge by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: support external etcd in CacheServer

3 participants