bootstrapper: install internal-config cm before constellation-services (#1995)

This commit is contained in:
Malte Poll 2023-07-03 10:19:27 +02:00 committed by GitHub
parent 576b48c8b7
commit 3942cf27f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,16 +226,16 @@ func (k *KubeWrapper) InitCluster(
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")
if err := k.setupInternalConfigMap(ctx); err != nil {
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.
log.Infof("Installing cert-manager")
if err = k.helmClient.InstallCertManager(ctx, helmReleases.CertManager); err != nil {