Skip to content

Commit

Permalink
Chore/helm restart deployment on config change (#114)
Browse files Browse the repository at this point in the history
* chore: add tui.env to gitignore

* chore: add annotation to deployment

* chore: version bump

* chore: bump libs
  • Loading branch information
jkoenig134 authored Oct 9, 2023
1 parent 4739461 commit 054e23a
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 284 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ helmChart/charts
.dev/.env
.dev/.env.*
!.dev/.env.example

tui.env
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.5.3

- helm chart: re-deploy the connector when the configmap changes

## 3.5.2

- fix problem with non-latin characters in filenames that caused a download of the file to return a 500
Expand Down
2 changes: 2 additions & 0 deletions helmChart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
{{- include "enmeshed_connector.selectorLabels" . | nindent 6 }}
template:
metadata:
annotations:
checksum/config: {{ .Values.config | toString | sha256sum }}
labels:
{{- include "enmeshed_connector.selectorLabels" . | nindent 8 }}
spec:
Expand Down
Loading

0 comments on commit 054e23a

Please sign in to comment.