Skip to content

Commit 4290402

Browse files
committed
fix params of git-sync container
1 parent 3e58436 commit 4290402

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

deployment/ocd-05-deployment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
image: k8s.gcr.io/git-sync/git-sync:v4.4.0
4747
args:
4848
- "--repo=$(GIT_REPO_URL)"
49-
- "--branch=$(GIT_BRANCH)"
49+
- "--ref=$(GIT_BRANCH)"
5050
- "--one-time"
5151
- "--root=/tmp/git"
5252
- "--link=ocd"
@@ -98,8 +98,7 @@ spec:
9898
image: k8s.gcr.io/git-sync/git-sync:v4.4.0
9999
args:
100100
- "--repo=$(GIT_REPO_URL)"
101-
- "--branch=$(GIT_BRANCH)"
102-
- "--one-time"
101+
- "--ref=$(GIT_BRANCH)"
103102
- "--root=/tmp/git"
104103
- "--link=ocd"
105104
envFrom:

0 commit comments

Comments
 (0)