You've already forked prometheus-postgres-exporter
docs(README): adapt stakaters reloader example
All checks were successful
Helm / helm-lint (push) Successful in 5s
Helm / helm-unittest (push) Successful in 8s
Markdown linter / markdown-link-checker (push) Successful in 11s
Generate README / generate-parameters (push) Successful in 28s
Markdown linter / markdown-lint (push) Successful in 9s
All checks were successful
Helm / helm-lint (push) Successful in 5s
Helm / helm-unittest (push) Successful in 8s
Markdown linter / markdown-link-checker (push) Successful in 11s
Generate README / generate-parameters (push) Successful in 28s
Markdown linter / markdown-lint (push) Successful in 9s
This commit is contained in:
17
README.md
17
README.md
@@ -166,18 +166,13 @@ TLS certificates before expiring.
|
|||||||
|
|
||||||
Until the exporter does not support rotating TLS certificate a workaround can be applied. For example stakater's
|
Until the exporter does not support rotating TLS certificate a workaround can be applied. For example stakater's
|
||||||
[reloader](https://github.com/stakater/Reloader) controller can be used to trigger a rolling update. The following
|
[reloader](https://github.com/stakater/Reloader) controller can be used to trigger a rolling update. The following
|
||||||
annotation must be added to instruct the reloader controller to trigger a rolling update, when the mounted configMaps
|
annotation must be added to instruct the reloader controller to trigger a rolling update, when the mounted secret has
|
||||||
and secrets have been changed.
|
been changed.
|
||||||
|
|
||||||
```yaml
|
> [!IMPORTANT]
|
||||||
deployment:
|
> The Helm chart already adds annotations to trigger a rolling release. Helm describes this approach under
|
||||||
annotations:
|
> [Automatically Roll Deployments](https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments).
|
||||||
reloader.stakater.com/auto: "true"
|
> For this reason, **only external** configMaps or secrets need to be monitored by reloader.
|
||||||
```
|
|
||||||
|
|
||||||
Instead of triggering a rolling update for configMap and secret resources, this action can also be defined for
|
|
||||||
individual items. For example, when the secret named `prometheus-postgresql-exporter-http` is mounted and the reloader
|
|
||||||
controller should only listen for changes of this secret:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
deployment:
|
deployment:
|
||||||
|
|||||||
Reference in New Issue
Block a user