Skip to content

Commit

Permalink
feat: support podAnnotations for web and worker deployments (#97)
Browse files Browse the repository at this point in the history
* feat: support podAnnotations for web and worker deployments
  • Loading branch information
nickmonad committed Mar 22, 2023
1 parent 936f804 commit b030454
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/chatwoot/Chart.yaml
Expand Up @@ -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"
5 changes: 4 additions & 1 deletion charts/chatwoot/templates/web-deployment.yaml
Expand Up @@ -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:
Expand All @@ -34,7 +37,7 @@ spec:
nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }}
{{- end }}
containers:
- args:
- args:
- bundle
- exec
- rails
Expand Down
3 changes: 3 additions & 0 deletions charts/chatwoot/templates/worker-deployment.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit b030454

Please sign in to comment.