From 262c1fe1e233f92282cc8b0c393441f346dfc824 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 9 Nov 2021 13:29:16 +0100 Subject: [PATCH] allow to set pod annotations (#61) --- helm/templates/deployment.yaml | 6 ++++++ helm/values.yaml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 1a4a32f..c5192d1 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -26,6 +26,12 @@ spec: {{- with .Values.services.owgwui.labels }} {{- toYaml . | nindent 8 }} {{- end }} + {{- if .Values.podAnnotations }} + annotations: + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- end }} spec: containers: diff --git a/helm/values.yaml b/helm/values.yaml index 49daf6b..527e2a1 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -69,6 +69,8 @@ tolerations: [] affinity: {} +podAnnotations: {} + # Application public_env_variables: DEFAULT_UCENTRALSEC_URL: https://ucentral.dpaas.arilia.com:16001