github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/deploy/operator.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: qdr-operator 5 spec: 6 replicas: 1 7 selector: 8 matchLabels: 9 name: qdr-operator 10 template: 11 metadata: 12 labels: 13 name: qdr-operator 14 spec: 15 serviceAccountName: qdr-operator 16 containers: 17 - name: qdr-operator 18 # Replace this with the built image name 19 image: quay.io/interconnectedcloud/qdr-operator 20 ports: 21 - containerPort: 60000 22 name: metrics 23 command: 24 - qdr-operator 25 imagePullPolicy: Always 26 env: 27 - name: WATCH_NAMESPACE 28 valueFrom: 29 fieldRef: 30 fieldPath: metadata.namespace 31 - name: POD_NAME 32 valueFrom: 33 fieldRef: 34 fieldPath: metadata.name 35 - name: OPERATOR_NAME 36 value: "qdr-operator"