expose apps using helm hooks when deploying a release

This commit is contained in:
rawlingsj
2018-02-19 16:32:27 +00:00
parent 3fc0176701
commit 8f8a444d1d
3 changed files with 22 additions and 0 deletions

View File

@@ -1 +1,9 @@
dependencies:
- name: exposecontroller
version: 2.3.43
repository: http://chartmuseum.build.cd.jenkins-x.io
alias: expose
- name: exposecontroller
version: 2.3.43
repository: http://chartmuseum.build.cd.jenkins-x.io
alias: cleanup

13
env/values.yaml vendored
View File

@@ -1 +1,14 @@
expose:
Args:
- --v
- 4
Annotations:
helm.sh/hook: post-install,post-upgrade
helm.sh/hook-delete-policy: hook-succeeded
cleanup:
Args:
- --cleanup
Annotations:
helm.sh/hook: pre-delete
helm.sh/hook-delete-policy: hook-succeeded