blob: 27dd346df6faa2e50ffdd6c9a5d948ae0d087688 [file] [log] [blame]
Stephane Barbarie5e8d9e42018-02-07 16:15:05 -05001apiVersion: apps/v1beta1
2kind: Deployment
3metadata:
4 name: rg
5spec:
6 replicas: 1
7 template:
8 metadata:
9 labels:
10 app: rg
11 annotations:
12 cni: "pon0"
13 spec:
14 containers:
15 - name: rg
16 image: "voltha-tester:latest"
17 env:
18 - name: POD_IP
19 valueFrom:
20 fieldRef:
21 fieldPath: status.podIP
22 - name: NAMESPACE
23 valueFrom:
24 fieldRef:
25 fieldPath: metadata.namespace
26 command: [ "/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait" ]
27 imagePullPolicy: Never