Richard Jankowski | d074dc7 | 2017-12-21 11:00:35 -0500 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
2 | kind: Deployment | ||||
3 | metadata: | ||||
4 | name: etcd-operator | ||||
Richard Jankowski | d445438 | 2018-02-08 16:21:43 -0500 | [diff] [blame] | 5 | namespace: voltha |
Richard Jankowski | d074dc7 | 2017-12-21 11:00:35 -0500 | [diff] [blame] | 6 | spec: |
7 | replicas: 1 | ||||
8 | template: | ||||
9 | metadata: | ||||
10 | labels: | ||||
11 | name: etcd-operator | ||||
12 | spec: | ||||
13 | containers: | ||||
14 | - name: etcd-operator | ||||
15 | image: quay.io/coreos/etcd-operator:v0.7.2 | ||||
16 | command: | ||||
17 | - etcd-operator | ||||
18 | env: | ||||
19 | - name: MY_POD_NAMESPACE | ||||
20 | valueFrom: | ||||
21 | fieldRef: | ||||
22 | fieldPath: metadata.namespace | ||||
23 | - name: MY_POD_NAME | ||||
24 | valueFrom: | ||||
25 | fieldRef: | ||||
26 | fieldPath: metadata.name | ||||
27 |