From b03045418dab116629d555a69820b1cfd7bf03fb Mon Sep 17 00:00:00 2001 From: Nick Miller <965744+nickmonad@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:46:24 -0500 Subject: [PATCH] feat: support podAnnotations for web and worker deployments (#97) * feat: support podAnnotations for web and worker deployments --- charts/chatwoot/Chart.yaml | 2 +- charts/chatwoot/templates/web-deployment.yaml | 5 ++++- charts/chatwoot/templates/worker-deployment.yaml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/chatwoot/Chart.yaml b/charts/chatwoot/Chart.yaml index 0db54f5..a6692c9 100644 --- a/charts/chatwoot/Chart.yaml +++ b/charts/chatwoot/Chart.yaml @@ -31,7 +31,7 @@ sources: - http://www.chatwoot.com # This is the chart version. -version: 1.0.16 +version: 1.0.17 # This is the application version. appVersion: "v2.15.0" diff --git a/charts/chatwoot/templates/web-deployment.yaml b/charts/chatwoot/templates/web-deployment.yaml index 7c04074..9b04eaf 100644 --- a/charts/chatwoot/templates/web-deployment.yaml +++ b/charts/chatwoot/templates/web-deployment.yaml @@ -25,6 +25,9 @@ spec: role: web annotations: checksum/config: {{ include (print $.Template.BasePath "/env-secret.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.tolerations }} tolerations: @@ -34,7 +37,7 @@ spec: nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }} {{- end }} containers: - - args: + - args: - bundle - exec - rails diff --git a/charts/chatwoot/templates/worker-deployment.yaml b/charts/chatwoot/templates/worker-deployment.yaml index 93e1647..a90b3f8 100644 --- a/charts/chatwoot/templates/worker-deployment.yaml +++ b/charts/chatwoot/templates/worker-deployment.yaml @@ -25,6 +25,9 @@ spec: role: worker annotations: checksum/config: {{ include (print $.Template.BasePath "/env-secret.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.tolerations }} tolerations: