mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-18 19:47:54 -04:00
Correctly deploy the AWS CCM (#1853)
* aws: stop using the imds api for tags * aws: disable tags in imds api * aws: only tag instances with non-lecagy tag * bootstrapper: always let coredns run before cilium * debugd: make debugd less noisy * fixup fix aws imds test * fixup unsued context * move getting instance id to readInstanceTag
This commit is contained in:
parent
4f63481b7d
commit
a2c98eb1d5
13 changed files with 687 additions and 163 deletions
|
@ -54,12 +54,13 @@ func (s *Scheduler) Start(ctx context.Context, wg *sync.WaitGroup) {
|
|||
ips, err := s.fetcher.DiscoverDebugdIPs(ctx)
|
||||
if err != nil {
|
||||
s.log.With(zap.Error(err)).Warnf("Discovering debugd IPs failed")
|
||||
continue
|
||||
}
|
||||
s.log.With(zap.Strings("ips", ips)).Infof("Discovered instances")
|
||||
s.download(ctx, ips)
|
||||
if s.deploymentDone && s.infoDone {
|
||||
return
|
||||
if err == nil {
|
||||
s.log.With(zap.Strings("ips", ips)).Infof("Discovered instances")
|
||||
s.download(ctx, ips)
|
||||
if s.deploymentDone && s.infoDone {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue