From cb442a450127530b1b6f011ea2fe6559a3c0a2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCnemann?= Date: Tue, 26 Sep 2023 13:25:55 +0200 Subject: [PATCH] test hpa --- .../blueprint/landscaper/deploy-execution.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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