apiVersion: apps/v1
kind: Deployment
metadata:
  name: varnish-ingress-controller
  namespace: varnish-ingress
spec:
  replicas: 1
  selector:
    matchLabels:
      app: varnish-ingress-controller
  template:
    metadata:
      labels:
        app: varnish-ingress-controller
    spec:
      serviceAccountName: varnish-ingress
      containers:
      - image: varnish-ingress/controller
        imagePullPolicy: IfNotPresent
        name: varnish-ingress-controller
        args:
        # Controller only observes Ingresses, Services etc. in the
        # given namespace.
        - -namespace=varnish-ingress
