git.emilymaier.net cloud / master prod.yaml
master

Tree @master (Download .tar.gz)

prod.yaml @masterraw · history · blame

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: prod
spec:
  replicas: 1
  selector:
    matchLabels:
      app: prod
  template:
    metadata:
      labels:
        app: prod
    spec:
      containers:
      - name: prod
        image: gcr.io/site-215815/prod:744eda1a3ee51c8c5907631f23308d1b88bffceb125b71be4491bbfa3fc84ba2
        ports:
        - containerPort: 80
        volumeMounts:
        - name: site-reader
          mountPath: "/var/secrets/google"
          readOnly: true
        readinessProbe:
          httpGet:
            path: /healthz
            port: 80
      volumes:
      - name: site-reader
        secret:
          secretName: site-reader