🔧(helm) add option to configure deployment annotations

We need to be abble to add specific annotations on Deployment in order
to use a reloader when external-secret sync new secrets
This commit is contained in:
Jacques ROUSSEL
2025-01-08 16:53:27 +01:00
committed by Anthony LC
parent bbb176e153
commit f12c06e975
8 changed files with 260 additions and 126 deletions

View File

@@ -6,6 +6,10 @@ kind: Deployment
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace | quote }}
annotations:
{{- with .Values.backend.dpAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "impress.common.labels" (list . $component) | nindent 4 }}
spec:

View File

@@ -6,6 +6,10 @@ kind: Deployment
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace | quote }}
annotations:
{{- with .Values.backend.dpAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "impress.common.labels" (list . $component) | nindent 4 }}
spec:

View File

@@ -6,6 +6,10 @@ kind: Deployment
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace | quote }}
annotations:
{{- with .Values.backend.dpAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "impress.common.labels" (list . $component) | nindent 4 }}
spec: