mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-23 23:40:44 -04:00
bootstrapper: remove cilium restart fix
Tests concluded that restating the Cilium agent after the first boot is not needed anymore to regain connectivity for pods.
This commit is contained in:
parent
1972b635b4
commit
79f562374a
9 changed files with 4 additions and 207 deletions
|
@ -51,7 +51,7 @@ func run(issuer atls.Issuer, openDevice vtpm.TPMOpenFunc, fileHandler file.Handl
|
|||
}
|
||||
|
||||
if nodeBootstrapped {
|
||||
if err := kube.StartKubelet(log); err != nil {
|
||||
if err := kube.StartKubelet(); err != nil {
|
||||
log.With(zap.Error(err)).Fatalf("Failed to restart kubelet")
|
||||
}
|
||||
return
|
||||
|
@ -93,7 +93,7 @@ func getDiskUUID() (string, error) {
|
|||
type clusterInitJoiner interface {
|
||||
joinclient.ClusterJoiner
|
||||
initserver.ClusterInitializer
|
||||
StartKubelet(*logger.Logger) error
|
||||
StartKubelet() error
|
||||
}
|
||||
|
||||
type metadataAPI interface {
|
||||
|
|
|
@ -33,7 +33,7 @@ func (c *clusterFake) JoinCluster(context.Context, *kubeadm.BootstrapTokenDiscov
|
|||
}
|
||||
|
||||
// StartKubelet starts the kubelet service.
|
||||
func (c *clusterFake) StartKubelet(*logger.Logger) error {
|
||||
func (c *clusterFake) StartKubelet() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue