Skip to content

JanRK/git-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image-size

quay.io/janrk/git-sync

      initContainers:
      - name: gitsync
        image: quay.io/janrk/gitsync:latest
        imagePullPolicy: IfNotPresent
        env:
        - name: GIT_SYNC_REPO
          value: https://github.com/myrepo.git  ##Changing value
        - name: GIT_SYNC_DEST
          value: git-sync
        resources: {}
        securityContext:
          capabilities:
            drop:
            - ALL
        volumeMounts:
        - name: repos
          mountPath: /repos
        - name: sshkey
          mountPath: "/root/.ssh"
          readOnly: true


      volumes:
      - name: sshkey
        secret:
          secretName: github
      - name: repos
        hostPath:
          path: /mnt/kubernetes/repos
          type: Directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published