mirror of
https://github.com/stakater/Reloader.git
synced 2026-05-04 07:46:59 +00:00
[update-readme] update README.md file by adding the guideline on how ignore some resource configMaps and secrets
This commit is contained in:
19
README.md
19
README.md
@@ -114,7 +114,16 @@ You can apply vanilla manifests by running the following command
|
||||
kubectl apply -f https://raw.githubusercontent.com/stakater/Reloader/master/deployments/kubernetes/reloader.yaml
|
||||
```
|
||||
|
||||
By default Reloader gets deployed in `default` namespace and watches changes `secrets` and `configmaps` in all namespaces.
|
||||
By default Reloader gets deployed in `default` namespace and watches changes `secrets` and `configmaps` in all namespaces.
|
||||
|
||||
Reloader can be configured to ignore the resources `secrets` and `configmaps` by passing the following args (`spec.template.spec.containers.args`) to its container :
|
||||
|
||||
| Args | Description |
|
||||
|---|---|
|
||||
| --resources-to-ignore=configMaps | To ignore configMaps |
|
||||
| --resources-to-ignore=secrets | To ignore secrets |
|
||||
|
||||
|
||||
|
||||
### Vanilla kustomize
|
||||
|
||||
@@ -158,6 +167,14 @@ helm install stakater/reloader
|
||||
helm install stakater/reloader --set reloader.watchGlobally=false --namespace test
|
||||
```
|
||||
|
||||
Reloader can be configured to ignore the resources `secrets` and `configmaps` by using the following parameters of `values.yaml` file:
|
||||
|
||||
| Parameter | Description |
|
||||
|---|---|
|
||||
| ignoreSecrets | To ignore secrets |
|
||||
| ignoreConfigMaps | To ignore configMaps |
|
||||
|
||||
|
||||
## Help
|
||||
|
||||
### Documentation
|
||||
|
||||
Reference in New Issue
Block a user