Constellation Operator: Add image version field (#649)

This commit is contained in:
Malte Poll 2022-11-25 14:49:26 +01:00 committed by GitHub
parent 89b25f8ebb
commit 1af3ff00ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 496 additions and 7 deletions

View file

@ -126,8 +126,8 @@ func main() {
os.Exit(1)
}
defer etcdClient.Close()
if err := deploy.InitialResources(context.Background(), k8sClient, cspClient, os.Getenv(constellationUID)); err != nil {
imageInfo := deploy.NewImageInfo()
if err := deploy.InitialResources(context.Background(), k8sClient, imageInfo, cspClient, os.Getenv(constellationUID)); err != nil {
setupLog.Error(err, "Unable to deploy initial resources")
os.Exit(1)
}