Skip to content

Commit

Permalink
feat(sidecar-terminator): Sync with improvements from 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
statcan-svc committed Nov 30, 2023
1 parent 99c0c87 commit 85648ee
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions stable/sidecar-terminator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "sidecar-terminator.fullname" . }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "sidecar-terminator.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "sidecar-terminator.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand All @@ -19,8 +12,15 @@ spec:
strategy: {}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "sidecar-terminator.fullname" . }}
{{- include "sidecar-terminator.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit 85648ee

Please sign in to comment.