-
Notifications
You must be signed in to change notification settings - Fork 449
Open
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
I'm requesting git-lfs be added to the image. This issue came up back in 2019 #174. The issue was closed without adding git-lfs to the image. I tested v3.6.2 by adding git-lfs to the image and I'm syncing LFS files from BitBucket without any additional configuration.
This is my dockerfile.
FROM k8s.gcr.io/git-sync/git-sync:v3.6.2
USER root
RUN apt-get update
RUN apt-get -y install git-lfs
USER 65533:65533
This is my container spec within my deployment in k8s.
spec:
template:
spec:
containers:
- name: git-sync-lfs
image: example-docker-hub/git-sync-lfs:v3.6.2
args:
- -ssh
- -repo=git@bitbucket.org:example-private-repo/lfs.git
- -root=/data
- -dest=lfs
- -branch=master
- -depth=1
- -wait=60
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 100m
memory: 100Mi
volumeMounts:
- name: lfs-data
mountPath: /data
- name: git-secret
mountPath: /etc/git-secret
securityContext:
runAsUser: 65533
rsrchboy and reddec
Metadata
Metadata
Assignees
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.