mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 16:41:47 +00:00
Merge pull request #2877 from sympatheticmoose/patch-1
Add the `--branch` arg to the basic auth example
This commit is contained in:
commit
e2fb6089c9
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ For private Git repositories, the basic authentication credentials are stored in
|
||||||
# Create a source for a Git repository using basic authentication
|
# Create a source for a Git repository using basic authentication
|
||||||
flux create source git podinfo \
|
flux create source git podinfo \
|
||||||
--url=https://github.com/stefanprodan/podinfo \
|
--url=https://github.com/stefanprodan/podinfo \
|
||||||
|
--branch=master \
|
||||||
--username=username \
|
--username=username \
|
||||||
--password=password`,
|
--password=password`,
|
||||||
RunE: createSourceGitCmdRun,
|
RunE: createSourceGitCmdRun,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue