apiVersion: apps/v1
kind: Deployment
metadata:
  name: dash
  namespace: thetrains
spec:
  replicas: 1
  selector:
    matchLabels:
      app: dash
  template:
    metadata:
      labels:
        app: dash
    spec:
      containers:
        - name: dash
          image: ghcr.io/joshtingey/dash:latest
          imagePullPolicy: "Always"
          envFrom:
            - configMapRef:
                name: thetrains-config
          ports:
            - containerPort: 8000
      imagePullSecrets:
        - name: githubregistrykey
