Signed-off-by: Le Yao <le.yao@intel.com>
Change-Id: Ieb3f5b6dd66bb38ed79656b767c07b614061d9cf
metadata:
name: cnfservice-sample
labels:
- sdewanPurpose: sdewan-safe
+ sdewanPurpose: base
spec:
fullname: nginx.default.svc.cluster.local
port: "8866"
option local_source 'lan'
EOF
- defaultip=$(grep "\podIP\b" /tmp/podinfo/annotations | cut -d/ -f2 | cut -d'"' -f2)
providerip=$(echo {{ .Values.providerCIDR }} | cut -d/ -f1)
sep="."
suf="0"
/etc/init.d/dropbear start
/etc/init.d/mwan3 restart
/etc/init.d/firewall restart
+ defaultip=$(grep "\podIP\b" /tmp/podinfo/annotations | cut -d/ -f2 | cut -d'"' -f2)
for net in $(echo -e $networks | jq -c ".interface[]")
do
interface=$(echo $net | jq -r .interface)