kubernetes/git-sync

Update README.md For Environment Variables

vyusufcan opened this issue · 1 comments

Hello,

When i try to set environment variable for git-sync , i noticed that the values ​​written in the documentation does not work.

For example ;

$GITSYNC_ROOT should be $GIT_SYNC_ROOT


  --root <string>, $GITSYNC_ROOT
              The root directory for git-sync operations, under which --link will
              be created.  This must be a path that either a) does not exist (it
              will be created); b) is an empty directory; or c) is a directory
              which can be emptied by removing all of the contents.  This flag is
              required.

$GITSYNC_SYNC_TIMEOUT should be $GIT_SYNC_SYNC_TIMEOUT


    --sync-timeout <duration>, $GITSYNC_SYNC_TIMEOUT
            The total time allowed for one complete sync.  This must be at least
            10ms.  This flag obsoletes --timeout, but if --timeout is specified,
            it will take precedence.  If not specified, this defaults to 120
            seconds ("120s").

I can update the README.md to fix environment variables.