Skip to content

Commit

Permalink
Fix an issue found in upgrade, when using helm upgrade resue values
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsadanandan committed Jul 9, 2020
1 parent ab5efde commit 47058d6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions stable/distribution/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# JFrog Distribution Chart Changelog
All changes to this project chart be documented in this file.

## [6.1.1] - Jul 9, 2020
* Fix an issue found in upgrade, when using helm upgrade --resue-values

## [6.1.0] - Jul 7, 2020
* Update Distribution version 2.4.0
* **IMPORTANT**
Expand Down
2 changes: 1 addition & 1 deletion stable/distribution/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
name: distribution
home: https://jfrog.com/platform/
description: A Helm chart for JFrog Distribution
version: 6.1.0
version: 6.1.1
appVersion: 2.4.0
sources:
- https://bintray.com/jfrog/product/distribution/view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ spec:
echo "Waiting for database to be ready...";
until nc -z -w 2 {{ .Release.Name }}-postgresql {{ .Values.postgresql.service.port }} && echo {{ .Release.Name }}-postgresql ok; do sleep 2; done;
{{- end }}
{{- if .Release.IsUpgrade }}
{{- if and .Release.IsUpgrade .Values.distribution.migration.enabled }}
- name: migration-{{ .Values.distribution.name }}
image: '{{ .Values.distribution.image.repository }}:{{ default .Chart.AppVersion .Values.distribution.image.version }}'
imagePullPolicy: {{ .Values.distribution.image.imagePullPolicy }}
Expand Down
4 changes: 4 additions & 0 deletions stable/distribution/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ distribution:
## Artifactory URL . Mandatory
jfrogUrl:

## Migration support from 1.x to 2.x app versions
migration:
enabled: false

serviceId:

## Extra environment variables that can be used to tune Distribution to your needs.
Expand Down

0 comments on commit 47058d6

Please sign in to comment.