apiVersion: v1
kind: Pod
metadata:
name: egress-1
labels:
name: egress-1
annotations:
pod.network.openshift.io/assign-macvlan: "true" (1)
spec:
initContainers:
- name: egress-router
image: registry.redhat.io/openshift4/ose-egress-router
securityContext:
privileged: true
env:
- name: egress_SOURCE (2)
value: <egress_router>
- name: egress_GATEWAY (3)
value: <egress_gateway>
- name: egress_DESTINATION (4)
value: <egress_destination>
- name: egress_ROUTER_MODE
value: init
containers:
- name: egress-router-wait
image: registry.redhat.io/openshift3/ose-pod