From 2a3824eebcf23fa39a1ad65bb6b1d43fd357b30f Mon Sep 17 00:00:00 2001 From: Nick Miller Date: Tue, 21 Mar 2023 16:03:27 -0500 Subject: [PATCH 1/2] feat: support podAnnotations for web and worker deployments --- charts/chatwoot/templates/web-deployment.yaml | 5 ++++- charts/chatwoot/templates/worker-deployment.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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: From 30dcfb31ed3a9cc965ebf1ad48b56e73e7166b51 Mon Sep 17 00:00:00 2001 From: Nick Miller Date: Tue, 21 Mar 2023 16:07:46 -0500 Subject: [PATCH 2/2] chart: bump version --- charts/chatwoot/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"