Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we support wildcard tls cert for k3s? #122

Open
mogliang opened this issue Oct 9, 2024 · 1 comment
Open

Can we support wildcard tls cert for k3s? #122

mogliang opened this issue Oct 9, 2024 · 1 comment

Comments

@mogliang
Copy link

mogliang commented Oct 9, 2024

Hi all,

We are using Azure relay to connect k3s cluster, the relay endpoint is like {guid}.myrelaydomain.com, guid is random generated at runtime, and rotate every few hours. To make apiserver pass tls validation, we need add wildcard tls-san *.myrelaydomain.com, however, k3s don't like it

image

I see the regex reject wildcard cert, any specific reason for this? can we allow wildcard cert?

https://github.com/rancher/dynamiclistener/blame/3fc2b04ceda3f071d8862a3b12f56f058cb9b6e3/factory/gen.go#L32

@mogliang
Copy link
Author

mogliang commented Oct 9, 2024

add reference
k3s-io/k3s#7821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant