Skip to content

Commit

Permalink
configure container deployer image s correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
reshnm committed Sep 28, 2023
1 parent 7237924 commit 37d17dc
Showing 1 changed file with 21 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 37d17dc

Please sign in to comment.