Skip to content

Commit

Permalink
Run enterprise-license job on upgrades (hashicorp#407)
Browse files Browse the repository at this point in the history
* Run enterprise-license job on upgrades
  • Loading branch information
ishustava authored Apr 4, 2020
1 parent 0a98bb6 commit e744f49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ IMPROVEMENTS:
enableAutoEncrypt: true
```
* Run the enterprise license job on Helm upgrades, as well as installs [[GH-407](https://github.com/hashicorp/consul-helm/pull/407)].
FEATURES:
* Add `externalServers` configuration to support configuring the Helm chart with Consul servers
Expand Down
2 changes: 1 addition & 1 deletion templates/enterprise-license-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
annotations:
"helm.sh/hook": post-install
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "100"
"helm.sh/hook-delete-policy": hook-succeeded
spec:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ server:
# has been elected. If you are not using an enterprise image
# or if you plan to introduce the license key via another route, then set
# these fields to null.
# Note: the job to apply license runs on both Helm installs and upgrades.
enterpriseLicense:
secretName: null
secretKey: null
Expand Down

0 comments on commit e744f49

Please sign in to comment.