blob: 27dd346df6faa2e50ffdd6c9a5d948ae0d087688 [file] [log] [blame]
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: rg
spec:
replicas: 1
template:
metadata:
labels:
app: rg
annotations:
cni: "pon0"
spec:
containers:
- name: rg
image: "voltha-tester:latest"
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
command: [ "/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait" ]
imagePullPolicy: Never