Removed hooks from annotations

The add-region job/pod does not need to tie with the post-install
or post-upgrade hooks. In addition, hook-delete-policy is not needed
since this resource is not created by a hook. Job deletion prior to
upgrade is already being taken care of in values.yaml.

Change-Id: Ib22cce350e82986d0f51c7bca2be0ee5a01c36a9
This commit is contained in:
Chi Lo 2020-10-06 08:12:17 -07:00
parent 7963190677
commit fc9b28b3e2
3 changed files with 2 additions and 4 deletions

View File

@ -15,7 +15,7 @@ appVersion: v1.0.0
description: OpenStack-Helm Ranger Agent
home: https://opendev.org/x/ranger-agent
name: ranger-agent
version: 0.1.3
version: 0.1.4
sources:
- https://opendev.org/openstack/ranger-agent
- https://opendev.org/openstack/openstack-helm

View File

@ -27,8 +27,6 @@ kind: Job
metadata:
name: ranger-agent-add-region
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec:
template:

View File

@ -625,7 +625,7 @@ conf:
"OSVersion": "Stein"
}
rms_listener_endpoint: http://localhost:7003/v2/orm/regions
retry_duration_minutes: 660
retry_duration_minutes: 360
retry_interval_minutes: 15
rabbitmq: