apiVersion: apps/v1
kind: Deployment
metadata:
  name: onify-agent-server
spec:
  selector:
    matchLabels:
      app: agent-server
  template:
    metadata:
      labels:
        app: agent-server
    spec:
     imagePullSecrets:
      - name: onify-regcred
     containers:
     - name: agent-server
       image: eu.gcr.io/onify-images/hub/agent-server:latest # IMPORTANT: replace with desired version
       env:
         - name: log_level
           value: "2"
         - name: log_type
           value: "1"
         - name: hub_version
           value: "v2"
       ports:
       - name: agent-server
         containerPort: 8080