Skip to content

Support k3s provider prefix#317

Open
johnl wants to merge 4 commits intomasterfrom
32962-support-k3s
Open

Support k3s provider prefix#317
johnl wants to merge 4 commits intomasterfrom
32962-support-k3s

Conversation

@johnl
Copy link
Copy Markdown

@johnl johnl commented Apr 10, 2026

previously we only stripped the brightbox:// prefix but would then go on to try
use any other providerIDs with the api. So instead, strip all provider prefixes
and trust the Brightbox API to be the authority on what is a brightbox server
and what is not.

This fixes using the provider with k3s, which uses a k3s:// provider prefix, but
should also work for future prefixes.

@johnl johnl self-assigned this Apr 10, 2026
@johnl johnl force-pushed the 32962-support-k3s branch 2 times, most recently from 5cd3688 to 0db3f80 Compare April 10, 2026 09:39
johnl added 2 commits April 10, 2026 10:59
previously we only stripped the brightbox:// prefix but would then go on to try
use any other providerIDs with the api. So instead, strip all provider prefixes
and trust the Brightbox API to be the authority on what is a brightbox server
and what is not.

This fixes using the provider with k3s, which uses a k3s:// provider prefix, but
should also work for future prefixes.
@johnl johnl force-pushed the 32962-support-k3s branch 2 times, most recently from fb49ea2 to 3d58113 Compare April 11, 2026 20:09
@johnl johnl force-pushed the 32962-support-k3s branch from 3d58113 to 7c087e9 Compare April 11, 2026 20:14
@johnl johnl force-pushed the 32962-support-k3s branch from 7c087e9 to ef25e4f Compare April 11, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant