delete nginx-ports-control chart before stx-openstack re-apply

Several cases might trigger stx-openstack re-apply, for example,
lock and unlock standby controller. During the re-apply process,
nginx-ports-control helm chart has to be removed first, otherwise
re-apply process will be blocked because a previously applied GNP
(GlobalNetworkPolicy) in nginx-ports-control chart has existed.

Closes-Bug: 1834070

Change-Id: I10805f052914a5157edc9b53699a94a2c7fd7953
Signed-off-by: yhu6 <yong.hu@intel.com>
This commit is contained in:
yhu6 2019-06-26 16:28:54 +00:00
parent 8068a4e417
commit b69e39d95a
1 changed files with 7 additions and 0 deletions

View File

@ -124,6 +124,13 @@ data:
type: tar
location: http://172.17.0.1/helm_charts/starlingx/nginx-ports-control-0.1.0.tgz
subpath: nginx-ports-control
upgrade:
no_hooks: false
pre:
delete:
- type: job
labels:
release_group: osh-openstack-nginx-ports-control
dependencies: []
---
schema: armada/Chart/v1