apiVersion: apps/v1
kind: Deployment
metadata:
  name: knative-serving-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      name: knative-serving-operator
  template:
    metadata:
      labels:
        name: knative-serving-operator
    spec:
      serviceAccountName: knative-serving-operator
      containers:
        - name: knative-serving-operator
          image: quay.io/openshift-knative/knative-serving-operator:v0.7.1-TP1-04
          command:
          - knative-serving-operator
          imagePullPolicy: Always
          env:
            - name: WATCH_NAMESPACE
              value: ""
            - name: NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: OPERATOR_NAME
              value: "knative-serving-operator"
            - name: IMAGE_QUEUE
              value: quay.io/openshift-knative/knative-serving-queue:v0.7.1
            - name: IMAGE_activator
              value: quay.io/openshift-knative/knative-serving-activator:v0.7.1
            - name: IMAGE_autoscaler
              value: quay.io/openshift-knative/knative-serving-autoscaler:v0.7.1
            - name: IMAGE_controller
              value: quay.io/openshift-knative/knative-serving-controller:v0.7.1
            - name: IMAGE_networking-certmanager
              value: quay.io/openshift-knative/knative-serving-certmanager:v0.7.1
            - name: IMAGE_networking-istio
              value: quay.io/openshift-knative/knative-serving-istio:v0.7.1
            - name: IMAGE_webhook
              value: quay.io/openshift-knative/knative-serving-webhook:v0.7.1
