-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Issue certificate to host.docker.internal
#2878
Comments
There’s past discussion of this in the tracker, will circle back to this later. in the meantime you can add additional host names yourself (sample config in past discussions) |
I could not find it. Could you please give an example @BenTheElder? |
#566 (comment) (though drop the |
Thank you |
For reference kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
kubeadmConfigPatchesJSON6902:
- group: kubeadm.k8s.io
version: v1beta3
kind: ClusterConfiguration
patch: |
- op: add
path: /apiServer/certSANs/-
value: host.docker.internal |
ugh, forgot, #1332 this should be v1beta3 for current kubernetes. To target all recent versions you could also include a patch for v1beta2 and v1beta3 and the matching patch will be used. |
What would you like to be added:
I want the certificate issued on
kind-control-plane
to be issued tohost.docker.internal
too; with this, I can use it with docker-composeWhy is this needed:
In my docker-compose file, I have this line
With this, I can connect to kind. However, the certificate is issued to
localhost
; with this change, other people will be able to use docker-compose along with Kind.The error
The text was updated successfully, but these errors were encountered: