From c56046583e0ab17a61d21b0583a3a20242f4ba67 Mon Sep 17 00:00:00 2001 From: devthejo Date: Mon, 24 Jun 2024 21:38:52 +0200 Subject: [PATCH] fix: argo diff on rollout --- charts/modjo-microservice/templates/rollout-deployment.yaml | 2 ++ charts/modjo-microservice/values.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/modjo-microservice/templates/rollout-deployment.yaml b/charts/modjo-microservice/templates/rollout-deployment.yaml index 3d653e2..7b0f94c 100644 --- a/charts/modjo-microservice/templates/rollout-deployment.yaml +++ b/charts/modjo-microservice/templates/rollout-deployment.yaml @@ -42,8 +42,10 @@ spec: {{- end }} template: metadata: + {{ if .Values.podAnnotations }} annotations: {{- toYaml .Values.podAnnotations | nindent 8 }} + {{ end }} labels: {{- include "common.labels.standard" . | nindent 8 }} spec: imagePullSecrets: diff --git a/charts/modjo-microservice/values.yaml b/charts/modjo-microservice/values.yaml index bfad932..bfb42f6 100644 --- a/charts/modjo-microservice/values.yaml +++ b/charts/modjo-microservice/values.yaml @@ -46,7 +46,7 @@ extraVolumeMounts: commonAnnotations: {} commonLabels: {} -podAnnotations: {} +podAnnotations: service: enabled: true