Extended cleanup script

Directory /etc/promenade has a permission issues when it's
not removed before deploying new genesis on the same host.

haproxy has been running under nobody user and has no access when
/etc/promenade was already been updated by init container for
haproxy anchor pod.

It's a root cause for deployment stop and waiting before running
haproxy service in the container on early stage.

Appropriate cleanup should resolve this issue.

Change-Id: I1fcadec9fce0ad50e24d6f8edb4600fb29bd9ce2
This commit is contained in:
Egorov, Stanislav (se6518) 2019-09-18 11:25:04 -07:00
parent e32f52b524
commit ecefe86cf5
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ TO_RM=(
"/etc/genesis"
"/etc/kubernetes"
"/etc/logrotate.d/json-logrotate"
"/etc/promenade"
"/etc/systemd/system/kubelet.service"
"/etc/systemd/system/docker.service.d/http-proxy.conf"
"/home/ceph"