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

Microk8s certificate to use Hostname instead of loopback or node ip address #4808

Closed
redspider001432 opened this issue Jan 3, 2025 · 1 comment

Comments

@redspider001432
Copy link

Summary

I wanted to use hostname in microk8s client.config instead of any localhost or node ip. when I do this, it always shows tls or ssl certificate issue. Is there any feature to do so and if not can we have one ?

Why is this important?

With this we can call internal apis to access cluster in multi node cluster.

Are you interested in contributing to this feature?

yes count me in.

@bschimke95
Copy link
Contributor

Hey @redspider001432

You need to add the hostname to the extraSANs. Please see: https://microk8s.io/docs/ref-launch-config section "Configure Subject Alternate Names for kube-apiserver certificates" for an example.

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

2 participants