From 009b97d7e410f0da2f752b5f50062c9dfa6f0140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Franco?= <13881523+antoniomrfranco@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:55:05 -0300 Subject: [PATCH] Add pod annotations --- templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 76be3aa..c5eb45e 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: {{- if .Values.podAnnotations }} {{- include "common.tplvalues.render" ( dict "value" .Values.podAnnotations "context" $) | nindent 8 }} {{- end }} + {{- if and .Values.metrics.enabled .Values.metrics.podAnnotations }} + {{- include "common.tplvalues.render" (dict "value" .Values.metrics.podAnnotations "context" $) | nindent 8 }} + {{- end }} spec: {{- include "cyral.imagePullSecrets" . | nindent 6 }} serviceAccountName: {{ template "cyral.serviceAccountName" . }}