-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from SoftwareAG/dev-msr-thr
Using of Stakater Reloader @ MSR
- Loading branch information
Showing
4 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Using of Stakater Reloader | ||
|
||
Per default, the Microservices Runtime pod is not restarted on changed `application.properties` (in *ConfigMap*) between Helm release upgrades. The [Stakataer Reloader](https://github.com/stakater/Reloader) can solve and help this issue. | ||
|
||
## Increase `values.yaml` | ||
|
||
Add following annotation value in `podAnnotations` to define the dependency between deployment and *ConfigMap* ... | ||
|
||
``` | ||
podAnnotations: | ||
configmap.reloader.stakater.com/reload: "{{ include \"common.names.fullname\" . }}" | ||
``` | ||
|
||
If the *ConfigMap* (evaluated by `{{ include \"common.names.fullname\" . }}`) with the content of `application.properties` is changed, [Stakataer Reloader](https://github.com/stakater/Reloader) restarts the pod after installing Helm release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters