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