Adding disableWait flag into HelmRelease resources
Some pods where getting stuck due the following cyclic dependency: The api pod where stuck in the Init state awaiting for jobs to be executed. Jobs had a post-install hook, meaning that will only be executed when all resources are loaded into Kubernetes [1]. Since the api pod where stuck in a Init state, the jobs never spawns and consequently the api pod. To solve this issue it was added a disableWait flag into the HelmReleases, meaning that the waiting for resources to be ready after a helm install has been performed will be disabled [2], allowing the api pods and jobs to spawn. Test Plan: PASS - Build stx-openstack tarball. PASS - Upload/apply stx-openstack. PASS - Remove/delete stx-openstack. [1] - https://helm.sh/docs/topics/charts_hooks/ [2] - https://fluxcd.io/flux/components/helm/helmreleases/ Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com> Change-Id: Iacc7544a5b3ecc8729aca991741255c105d5eb22
This commit is contained in:
parent
ad0c1dc0e6
commit
f3f74c96be
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: glance
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: keystone
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: placement
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: rabbitmq
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: placement
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: placement
|
||||
namespace: openstack
|
||||
|
@ -26,8 +26,10 @@ spec:
|
||||
enable: false
|
||||
install:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableHooks: false
|
||||
disableWait: true
|
||||
dependsOn:
|
||||
- name: cinder
|
||||
namespace: openstack
|
||||
|
Loading…
x
Reference in New Issue
Block a user