1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-25 20:59:28 +01:00

helm chart - Allow to add custom annotations for deployment

Revamp code
This commit is contained in:
Anthony SCHWARTZ
2025-09-15 21:23:29 +02:00
parent f8c8d9a385
commit d841a2d913
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ metadata:
namespace: {{ include "descheduler.namespace" . }}
labels:
{{- include "descheduler.labels" . | nindent 4 }}
{{- if .Values.annotations }}
annotations: {{- toYaml .Values.deploymentAnnotations | nindent 4 }}
{{- end }}
spec:
{{- if gt (.Values.replicas | int) 1 }}
{{- if not .Values.leaderElection.enabled }}

View File

@@ -204,6 +204,9 @@ serviceAccount:
# Default is not set - but only implied by the ServiceAccount
# automountServiceAccountToken: true
# Annotations that'll be applied to deployment
deploymentAnnotations: {}
cronJobAnnotations: {}
cronJobLabels: {}