mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bootstrapper: install internal-config cm before constellation-services (#1995)
This commit is contained in:
parent
576b48c8b7
commit
3942cf27f3
@ -226,16 +226,16 @@ func (k *KubeWrapper) InitCluster(
|
|||||||
return nil, fmt.Errorf("setting up extraVals: %w", err)
|
return nil, fmt.Errorf("setting up extraVals: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infof("Installing Constellation microservices")
|
|
||||||
if err = k.helmClient.InstallConstellationServices(ctx, helmReleases.ConstellationServices, extraVals); err != nil {
|
|
||||||
return nil, fmt.Errorf("installing constellation-services: %w", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
log.Infof("Setting up internal-config ConfigMap")
|
log.Infof("Setting up internal-config ConfigMap")
|
||||||
if err := k.setupInternalConfigMap(ctx); err != nil {
|
if err := k.setupInternalConfigMap(ctx); err != nil {
|
||||||
return nil, fmt.Errorf("failed to setup internal ConfigMap: %w", err)
|
return nil, fmt.Errorf("failed to setup internal ConfigMap: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Infof("Installing Constellation microservices")
|
||||||
|
if err = k.helmClient.InstallConstellationServices(ctx, helmReleases.ConstellationServices, extraVals); err != nil {
|
||||||
|
return nil, fmt.Errorf("installing constellation-services: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
// cert-manager is necessary for our operator deployments.
|
// cert-manager is necessary for our operator deployments.
|
||||||
log.Infof("Installing cert-manager")
|
log.Infof("Installing cert-manager")
|
||||||
if err = k.helmClient.InstallCertManager(ctx, helmReleases.CertManager); err != nil {
|
if err = k.helmClient.InstallCertManager(ctx, helmReleases.CertManager); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user