blob: 4e6d6792838cf74c1f1a9196ce96ca07f51308ea [file] [log] [blame]
Richard Jankowskid074dc72017-12-21 11:00:35 -05001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: etcd-operator
5spec:
6 replicas: 1
7 template:
8 metadata:
9 labels:
10 name: etcd-operator
11 spec:
12 containers:
13 - name: etcd-operator
14 image: quay.io/coreos/etcd-operator:v0.7.2
15 command:
16 - etcd-operator
17 env:
18 - name: MY_POD_NAMESPACE
19 valueFrom:
20 fieldRef:
21 fieldPath: metadata.namespace
22 - name: MY_POD_NAME
23 valueFrom:
24 fieldRef:
25 fieldPath: metadata.name
26