blob: 7e51944a49aefa9f245e27c83bc80db262d20c8a [file] [log] [blame]
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: etcd-operator
namespace: voltha
spec:
replicas: 1
template:
metadata:
labels:
name: etcd-operator
spec:
containers:
- name: etcd-operator
image: quay.io/coreos/etcd-operator:v0.7.2
command:
- etcd-operator
env:
- name: MY_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MY_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name