Restarting containerized horizon with baremetal horizon

This commit modifies the baremetal horizon init script to
kill the horizon pod so it restarts.  This gives it the
chance to pick up any new branding files when they're installed.

Change-Id: Ic122bb359e00d76ab967b2ddcdc278c8cbfde818
Story: 2003909
Task: 27080
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
This commit is contained in:
Tyler Smith 2018-11-09 13:17:54 -05:00
parent 95fb3c8d99
commit 12664474e8
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,10 @@ start()
fi
fi
fi
# As part of starting horizon we should kill containerized horizon so that it
# will pickup branding changes
kubectl --kubeconfig=/etc/kubernetes/admin.conf delete pods -n openstack -l application=horizon 1>/dev/null
}
stop()