Make Kubernetes serviceCIDR configurable in config (#2660)

* config: pass serviceCIDR to kubeadm init

* terraform: add serviceCIDR
This commit is contained in:
3u13r 2023-12-01 14:39:05 +01:00 committed by GitHub
parent c2d1a7b7fb
commit 63cdd03d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 103 additions and 61 deletions

View file

@ -218,6 +218,7 @@ func (s *Server) Init(req *initproto.InitRequest, stream initproto.API_InitServe
req.ConformanceMode,
components.NewComponentsFromInitProto(req.KubernetesComponents),
req.ApiserverCertSans,
req.ServiceCidr,
s.log,
)
if err != nil {
@ -340,6 +341,7 @@ type ClusterInitializer interface {
conformanceMode bool,
kubernetesComponents components.Components,
apiServerCertSANs []string,
serviceCIDR string,
log *logger.Logger,
) ([]byte, error)
}