Skip to content

Commit 4a21511

Browse files
authored
Merge pull request #787 from snyk/docs/add_reuse_values
docs: add info on --reuse-values to README
2 parents b746040 + 8556cc1 commit 4a21511

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

snyk-monitor/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,19 @@ By default, `snyk-monitor` does not scan containers that are internal to Kuberne
188188
* `kube-system`
189189
* `local-path-storage`
190190

191-
If you prefer to override this, you can add your own list of namespaces to exclude by setting the `excludedNamespaces` to your own list.
192-
For example:
191+
If you prefer to override this, you can add your own list of namespaces to exclude by setting the `excludedNamespaces` to your own list. For example:
193192
```yaml
194193
--set excludedNamespaces={kube-node-lease,kube-public,local-path-storage,some_namespace}
195194
```
196195

196+
## Upgrading
197+
198+
When upgrading the Snyk monitor, if you would like to reuse the last release's values and merge in any overrides from the command line via --set and -f, you can use the option `--reuse-values`. For example:
199+
```bash
200+
helm upgrade snyk-monitor snyk-charts/snyk-monitor --reuse-values
201+
```
202+
If '--reset-values' is specified, this is ignored.
203+
197204
## Terms and conditions ##
198205

199206
*The Snyk Container Kubernetes integration uses Red Hat UBI (Universal Base Image).*

0 commit comments

Comments
 (0)