From a316966325bf9bdd65613dcca37ee212549c273a Mon Sep 17 00:00:00 2001 From: vostres Date: Tue, 30 Apr 2024 13:57:46 +0200 Subject: [PATCH] Add terminationGracePeriodSeconds, podAnnotations, podLabels --- charts/streams-app/templates/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/streams-app/templates/deployment.yaml b/charts/streams-app/templates/deployment.yaml index cd900fa2..47f0fc67 100644 --- a/charts/streams-app/templates/deployment.yaml +++ b/charts/streams-app/templates/deployment.yaml @@ -48,7 +48,7 @@ spec: prometheus.io/scrape: "true" prometheus.io/port: {{ .Values.prometheus.jmx.port | quote }} {{- end }} - {{- range $key, $value := .Values.annotations }} + {{- range $key, $value := .Values.podAnnotations }} {{ $key | quote }}: {{ $value | quote }} {{- end }} {{- if and .Values.autoscaling.consumerGroup (not .Values.annotations.consumerGroup) }} @@ -58,7 +58,7 @@ spec: labels: app: {{ template "streams-app.name" . }} release: {{ .Release.Name }} - {{- range $key, $value := .Values.labels }} + {{- range $key, $value := .Values.podLabels }} {{ $key }}: {{ $value }} {{- end }} spec: @@ -99,6 +99,7 @@ spec: {{- if .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }} {{- end }} + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- if .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }}