Skip to content

Commit

Permalink
Add terminationGracePeriodSeconds, podAnnotations, podLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
vostres committed Apr 30, 2024
1 parent e0965d6 commit a316966
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charts/streams-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand All @@ -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:
Expand Down Expand Up @@ -99,6 +99,7 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
Expand Down

0 comments on commit a316966

Please sign in to comment.