feat(argo-cd): adding annotations option for Certificate (#2156)

* feat(certificate): adding annotations options for the `Certificate` resources

Signed-off-by: Amit Ben Ami <benami.amit1@gmail.com>

* feat: bumping the chart version

Signed-off-by: Amit Ben Ami <benami.amit1@gmail.com>

---------

Signed-off-by: Amit Ben Ami <benami.amit1@gmail.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Amit Ben Ami 2023-07-11 16:01:02 +03:00 committed by GitHub
parent 5ec59e90fa
commit 2fb6049751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 3 deletions

View file

@ -2,6 +2,12 @@
apiVersion: {{ include "argo-cd.apiVersion.cert-manager" . }}
kind: Certificate
metadata:
{{- with (mergeOverwrite (deepCopy .Values.global.certificateAnnotations) .Values.server.certificate.annotations) }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "argo-cd.server.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels: