Skip to content

Commit

Permalink
configure HA webhook according to replicas in the helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
kon-angelo committed Nov 30, 2024
1 parent 36135bf commit 6c1d14c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ kind: Deployment
metadata:
name: {{ include "name" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.ignoreResources }}
annotations:
{{- if .Values.ignoreResources }}
resources.gardener.cloud/ignore: "true"
{{- end }}
{{- end }}
high-availability-config.resources.gardener.cloud/replicas: {{ .Values.replicaCount }}
labels:
{{ include "labels" . | indent 4 }}
high-availability-config.resources.gardener.cloud/type: server
Expand Down

0 comments on commit 6c1d14c

Please sign in to comment.