diff --git a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml index 45685ee78..b8edc51dc 100644 --- a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml +++ b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml @@ -144,14 +144,6 @@ deployItems: kubeconfig: | {{- .imports.landscaperWebhooksKubeconfigYaml | nindent 14}} - {{ $webhooksImgresource := getResource $landscaperComponent "name" "landscaper-webhooks-server" }} - {{ $webhooksImgrepo := ociRefRepo $webhooksImgresource.access.imageReference }} - {{ $webhooksImgtag := ociRefVersion $webhooksImgresource.access.imageReference }} - image: - repository: {{ $webhooksImgrepo }} - tag: {{ $webhooksImgtag }} - pullPolicy: IfNotPresent - {{- if (dig "landscaperConfig" "webhooksServer" "replicas" false .imports) }} replicaCount: {{ .imports.landscaperConfig.webhooksServer.replicas }} {{- end }} @@ -186,6 +178,14 @@ deployItems: dns: class: garden + {{ $webhooksImgresource := getResource $landscaperComponent "name" "landscaper-webhooks-server" }} + {{ $webhooksImgrepo := ociRefRepo $webhooksImgresource.access.imageReference }} + {{ $webhooksImgtag := ociRefVersion $webhooksImgresource.access.imageReference }} + image: + repository: {{ $webhooksImgrepo }} + tag: {{ $webhooksImgtag }} + pullPolicy: IfNotPresent + {{ if has "helm" .imports.landscaperConfig.deployers }} - name: helm-deployer type: landscaper.gardener.cloud/helm