Created
October 31, 2024 12:41
-
-
Save larstobi/a87631a72c79ddd201948950790c9590 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
containerdConfigPatches: | |
- |- | |
[plugins."io.containerd.grpc.v1.cri".registry] | |
[plugins."io.containerd.grpc.v1.cri".registry.tls] | |
ca_file = "/etc/ssl/certs/ca-certificates.crt" | |
nodes: | |
- role: control-plane | |
extraMounts: | |
- hostPath: /path/to/certs | |
containerPath: /custom-ca | |
kubeadmConfigPatches: | |
- | | |
kind: InitConfiguration | |
nodeRegistration: | |
kubeletExtraArgs: | |
node-labels: "ingress-ready=true" | |
preKubeadmCommands: | |
- mkdir -p /usr/local/share/ca-certificates | |
- cp /custom-ca/*.crt /usr/local/share/ca-certificates/ | |
- update-ca-certificates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment