apiVersion: apps/v1
kind: Deployment
metadata:
  name: skynet-deployment
  labels:
    app: skynet
spec:
  selector:
    matchLabels:
      app: skynet
  template:
    metadata:
      labels:
        app: skynet
    spec:
      containers:
      - name: skynet
        image: cr.l.theiselins.net/miselin/xmppbot
        env:
        - name: DISCORD_TOKEN
          valueFrom:
            secretKeyRef:
              name: discord
              key: token
      imagePullSecrets:
      - name: regcred