UNCLASSIFIED

Commit 0d720e74 authored by Grant Duncklee's avatar Grant Duncklee
Browse files

Merge branch 'feature/add_upgrade_support_to_jobs' into 'master'

chore: add post-upgrade support, clean resources

See merge request !3
parents 60eb7754 4dea8dcc
# Changelog # Changelog
---
## [103.0.1-bb.1]
### Added
- modify hook to execute on post-install and post-upgrade
- delete policy added
apiVersion: v2 apiVersion: v2
name: nexus-iq-server name: nexus-iq-server
version: 103.0.1-bb.0 version: 103.0.1-bb.1
appVersion: 1.103.0 appVersion: 1.103.0
type: application type: application
......
...@@ -3,7 +3,8 @@ apiVersion: batch/v1 ...@@ -3,7 +3,8 @@ apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
annotations: annotations:
"helm.sh/hook": post-install "helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
name: post-install name: post-install
spec: spec:
template: template:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment