---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: swagger
  namespace: prime
spec:
  replicas: 1
  selector:
    matchLabels:
      app: swagger
  template:
    metadata:
      labels:
        app: swagger
    spec:
      imagePullSecrets:
        - name: quay-registry-key
      containers:
        - name: swagger
          image: swagger:dzintars
          imagePullPolicy: Always  # Because i am not handling labeling
          ports:
            - containerPort: 8080
          args:
            - '-d=/'
            - '-p=8080'
