ansible-role-kubernetes-ca icon indicating copy to clipboard operation
ansible-role-kubernetes-ca copied to clipboard

fix: add K8s API hosts to SANs of kube-controller-manager Cert

Open hajowieland opened this issue 1 year ago • 0 comments

Fixes #14

Added the SANs of Kubernetes API hosts to the kube-controller-manager Cert. This fixes an issue with scraping the metrics of kube-controller-manager service.

I am open for input if adding all hosts of k8s_api_hosts is maybe too much and could be even more restrictive. But as kube-controller-manager runs on the same hosts as kube-apiserver, I think adding all the hosts should be fine.

hajowieland avatar Dec 09 '24 14:12 hajowieland