How to clone a private git repository into a kubernetes pod using ssh keys in secrets?

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • repo

  • apiVersion: batch/v1kind: Jobmetadata: name: nest-build-kaniko labels: app: nest-kaniko-examplespec: template: spec: containers: - image: 'gcr.io/kaniko-project/executor:latest' name: kaniko args: ["--dockerfile=/workspace/Dockerfile", "--context=/workspace/", "--destination=aws.dest.cred"] volumeMounts: - mountPath: /workspace name: source - name: aws-secret mountPath: /root/.aws/ - name: docker-config mountPath: /kaniko/.docker/ initContainers: - name: download image: alpine:3.7 command: ["/bin/sh","-c"] args: ['apk add --no-cache git && git clone https://github.com/username/repo.git /tmp/'] volumeMounts: - mountPath: /tmp name: source restartPolicy: Never volumes: - emptyDir: {} name: source - name: aws-secret secret: secretName: aws-secret - name: docker-config configMap: name: docker-config The yaml file after using git-sync for cloning private repository:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project