helm: manage CoreDNS addon as Helm chart (#3388)

* Reapply "helm: manage CoreDNS addon as Helm chart (#3236)"

This reverts commit 4a9422d288.

* Reapply "helm: fix kubeadm bugs caused by CoreDNS installation (#3353)"

This reverts commit 9ecfc3fa19.
This commit is contained in:
Markus Rudy 2024-10-07 10:51:37 +02:00 committed by GitHub
parent 32e00994bb
commit dd1763a36d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 750 additions and 69 deletions

View file

@ -165,10 +165,6 @@ func (k *KubeWrapper) InitCluster(
return nil, fmt.Errorf("waiting for Kubernetes API to be available: %w", err)
}
if err := k.client.EnforceCoreDNSSpread(ctx); err != nil {
return nil, fmt.Errorf("configuring CoreDNS deployment: %w", err)
}
// Setup the K8s components ConfigMap.
k8sComponentsConfigMap, err := k.setupK8sComponentsConfigMap(ctx, kubernetesComponents, versionString)
if err != nil {