blob: 7e51944a49aefa9f245e27c83bc80db262d20c8a [file] [log] [blame]
Richard Jankowskid074dc72017-12-21 11:00:35 -05001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: etcd-operator
Richard Jankowskid4454382018-02-08 16:21:43 -05005 namespace: voltha
Richard Jankowskid074dc72017-12-21 11:00:35 -05006spec:
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