From b69e39d95aa7f6336eb748fa29737ea09b9aaa4c Mon Sep 17 00:00:00 2001 From: yhu6 Date: Wed, 26 Jun 2019 16:28:54 +0000 Subject: [PATCH] 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 --- .../stx-openstack-helm/manifests/manifest.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index dc91bf87df..08dc40645a 100644 --- a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -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