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

Tree @master (Download .tar.gz)

git-nginx.yaml @masterraw · history · blame

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: git-nginx
spec:
  replicas: 1
  selector:
    matchLabels:
      app: git-nginx
  template:
    metadata:
      labels:
        app: git-nginx
    spec:
      containers:
      - name: git-nginx
        image: gcr.io/site-215815/git-nginx
        ports:
        - name: http
          containerPort: 80
        - name: https
          containerPort: 443
        volumeMounts:
        - name: tls-keys
          mountPath: "/tls"
          readOnly: true
      volumes:
      - name: tls-keys
        secret:
          secretName: tls-keys