apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app.kubernetes.io/name: knative-operator
    app.kubernetes.io/part-of: knative-operator
    app.kubernetes.io/version: 1.2.0
    operator.knative.dev/release: v1.2.0
  name: knative-operator
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      name: knative-operator
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
      labels:
        app.kubernetes.io/name: knative-operator
        app.kubernetes.io/part-of: knative-operator
        app.kubernetes.io/version: 1.2.0
        name: knative-operator
    spec:
      containers:
      - env:
        - name: POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: SYSTEM_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: METRICS_DOMAIN
          value: knative.dev/operator
        - name: CONFIG_LOGGING_NAME
          value: config-logging
        - name: CONFIG_OBSERVABILITY_NAME
          value: config-observability
        image: gcr.io/knative-releases/knative.dev/operator/cmd/operator@sha256:8105b8c19e15bfcdd254702766a6a935f8c645ccc9c05d622ede2d4d1d6c9806
        imagePullPolicy: IfNotPresent
        name: knative-operator
        ports:
        - containerPort: 9090
          name: metrics
      serviceAccountName: knative-operator
