From d00e90c3d36a8903e69565b629d99714e49e5637 Mon Sep 17 00:00:00 2001 From: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com> Date: Mon, 4 Jul 2022 11:36:41 -0400 Subject: [PATCH] docs: small fix for plugin stream filtering Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com> --- docs/user-guide/config-management-plugins.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/config-management-plugins.md b/docs/user-guide/config-management-plugins.md index f50646272c982..a2dd91b136265 100644 --- a/docs/user-guide/config-management-plugins.md +++ b/docs/user-guide/config-management-plugins.md @@ -235,16 +235,17 @@ If you don't need to set any environment variables, you can set an empty plugin is 90s. So if you increase the repo server timeout greater than 90s, be sure to set `ARGOCD_EXEC_TIMEOUT` on the sidecar. -## Tarball stream filtering +## Plugin tar stream exclusions In order to increase the speed of manifest generation, certain files and folders can be excluded from being sent to your plugin. We recommend excluding your `.git` folder if it isn't necessary. Use Go's [filepatch.Match](https://pkg.go.dev/path/filepath#Match) syntax. You can set it one of three ways: + 1. The `--plugin-tar-exclude` argument on the repo server. 2. The `reposerver.plugin.tar.exclusions` key if you are using `argocd-cmd-params-cm` -3. Directly setting 'ARGOCD_REPO_SERVER_PLUGIN_TAR_EXCLUSIONS' environment variable on the repo server. +3. Directly setting `ARGOCD_REPO_SERVER_PLUGIN_TAR_EXCLUSIONS` environment variable on the repo server. For option 1, the flag can be repeated multiple times. For option 2 and 3, you can specify multiple globs by separating them with semicolons. \ No newline at end of file