From 37d17dc6cf232fba7c551b956ec31ed74acb4265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCnemann?= Date: Thu, 21 Sep 2023 16:00:29 +0200 Subject: [PATCH] configure container deployer image s correctly --- .../landscaper/deploy-execution.yaml | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml index 6b5d3d085..a94bf6c8d 100644 --- a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml +++ b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml @@ -412,10 +412,25 @@ deployItems: image: {{ $containerDeployerComponent := getComponent $landscaperComponent "name" "container-deployer" }} - {{ $image := getResource $containerDeployerComponent "name" "container-deployer-image" }} - {{ $imageRepo := ociRefRepo $image.access.imageReference }} - {{ $imageTag := ociRefVersion $image.access.imageReference }} - repository: {{ $imageRepo }} - tag: {{ $imageTag }} - pullPolicy: IfNotPresent + controller: + {{ $image := getResource $containerDeployerComponent "name" "container-deployer-image" }} + {{ $imageRepo := ociRefRepo $image.access.imageReference }} + {{ $imageTag := ociRefVersion $image.access.imageReference }} + repository: {{ $imageRepo }} + tag: {{ $imageTag }} + pullPolicy: IfNotPresent + + initContainer: + {{ $image := getResource $containerDeployerComponent "name" "container-init-image" }} + {{ $imageRepo := ociRefRepo $image.access.imageReference }} + {{ $imageTag := ociRefVersion $image.access.imageReference }} + repository: {{ $imageRepo }} + tag: {{ $imageTag }} + + waitContainer: + {{ $image := getResource $containerDeployerComponent "name" "container-wait-image" }} + {{ $imageRepo := ociRefRepo $image.access.imageReference }} + {{ $imageTag := ociRefVersion $image.access.imageReference }} + repository: {{ $imageRepo }} + tag: {{ $imageTag }} {{ end }}