git.emilymaier.net cloud / master git-ssh.yaml
master

Tree @master (Download .tar.gz)

git-ssh.yaml @masterraw · history · blame

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: git-ssh
spec:
  replicas: 1
  selector:
    matchLabels:
      app: git-ssh
  template:
    metadata:
      labels:
        app: git-ssh
    spec:
      containers:
      - name: git-ssh
        image: gcr.io/site-215815/git-ssh
        ports:
        - containerPort: 22
        volumeMounts:
        - name: ssh-hostkeys
          mountPath: "/ssh-hostkeys"
          readOnly: true
        - name: site-writer
          mountPath: "/var/secrets/google"
          readOnly: true
      volumes:
      - name: ssh-hostkeys
        secret:
          secretName: ssh-hostkeys
      - name: site-writer
        secret:
          secretName: site-writer