helm: revert parts of CoreDNS Helm chart packaging (#3366)

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

This reverts commit 8ef5ea2efe.

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

This reverts commit 97c77e2a78.

* upgrade-agent: ignore CoreDNS preflight errors
This commit is contained in:
Markus Rudy 2024-09-19 10:55:21 +02:00 committed by GitHub
parent 89eb8ca6ae
commit 850b460002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 69 additions and 750 deletions

View file

@ -48,6 +48,7 @@ type Client interface {
AddNodeSelectorsToDeployment(ctx context.Context, selectors map[string]string, name string, namespace string) error
ListAllNamespaces(ctx context.Context) (*corev1.NamespaceList, error)
AnnotateNode(ctx context.Context, nodeName, annotationKey, annotationValue string) error
EnforceCoreDNSSpread(ctx context.Context) error
PatchFirstNodePodCIDR(ctx context.Context, firstNodePodCIDR string) error
}
@ -149,7 +150,7 @@ func (k *KubernetesUtil) InitCluster(
// initialize the cluster
log.Info("Initializing the cluster using kubeadm init")
skipPhases := "--skip-phases=preflight,certs,addon/coredns"
skipPhases := "--skip-phases=preflight,certs"
if !conformanceMode {
skipPhases += ",addon/kube-proxy"
}