Skip to content

Commit

Permalink
test hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
reshnm committed Sep 28, 2023
1 parent aca6601 commit cb442a4
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb442a4

Please sign in to comment.