Skip to content

Commit

Permalink
Upgrade postgres version to 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
amithins committed Jun 25, 2020
1 parent c43d9f1 commit 637c5f6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 4 deletions.
6 changes: 6 additions & 0 deletions stable/artifactory-ha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# JFrog Artifactory-ha Chart Changelog
All changes to this chart will be documented in this file.

## [3.0.0] - Jun 24, 2020
* Update postgresql tag version to `10.13.0-debian-10-r38`
**IMPORTANT**<br>
* If this is a new deployment or you already use an external database (`postgresql.enabled=false`), these changes **do not affect you**!
* If this is an upgrade and you are using the default PostgreSQL (`postgresql.enabled=true`), you need to pass postgresql.image.tag=9.6.18-debian-10-r7 and databaseUpgradeReady=yes

## [2.5.7] - Jun 18, 2020
* Fixes bootstrap configMap issue on member node

Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory-ha/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory-ha
home: https://www.jfrog.com/artifactory/
version: 2.5.7
version: 3.0.0
appVersion: 7.5.7
description: Universal Repository Manager supporting all major packaging formats,
build tools and CI servers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
{{- if .Values.artifactory.primary.labels }}
{{ toYaml .Values.artifactory.primary.labels | indent 4 }}
{{- end }}
{{- if and .Release.IsUpgrade .Values.postgresql.enabled }}
databaseUpgradeReady: {{ required "\n\n*********\nIMPORTANT: UPGRADE STOPPED to prevent data loss!\nReview CHANGELOG.md (https://github.com/jfrog/charts/blob/master/stable/artifactory/CHANGELOG.md), pass postgresql.image.tag=9.6.18-debian-10-r7 and databaseUpgradeReady=yes if you are upgrading from chart version which has postgresql version 9.6.x." | quote }}
{{- end }}
spec:
serviceName: {{ template "artifactory-ha.primary.name" . }}
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ postgresql:
image:
registry: docker.bintray.io
repository: bitnami/postgresql
tag: 9.6.18-debian-10-r7
tag: 10.13.0-debian-10-r38
postgresqlUsername: artifactory
postgresqlPassword: ""
postgresqlDatabase: artifactory
Expand Down
6 changes: 6 additions & 0 deletions stable/artifactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# JFrog Artifactory Chart Changelog
All changes to this chart will be documented in this file.

## [10.0.0] - Jun 24, 2020
* Update postgresql tag version to `10.13.0-debian-10-r38`
**IMPORTANT**<br>
* If this is a new deployment or you already use an external database (`postgresql.enabled=false`), these changes **do not affect you**!
* If this is an upgrade and you are using the default PostgreSQL (`postgresql.enabled=true`), you need to pass postgresql.image.tag=9.6.18-debian-10-r7 and databaseUpgradeReady=yes

## [9.5.3] - Jun 11, 2020
* Support list of custom secrets

Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory
home: https://www.jfrog.com/artifactory/
version: 9.5.3
version: 10.0.0
appVersion: 7.5.7
description: Universal Repository Manager supporting all major packaging formats,
build tools and CI servers.
Expand Down
3 changes: 3 additions & 0 deletions stable/artifactory/templates/artifactory-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
{{- if .Values.artifactory.labels }}
{{ toYaml .Values.artifactory.labels | indent 4 }}
{{- end }}
{{- if and .Release.IsUpgrade .Values.postgresql.enabled }}
databaseUpgradeReady: {{ required "\n\n*********\nIMPORTANT: UPGRADE STOPPED to prevent data loss!\nReview CHANGELOG.md (https://github.com/jfrog/charts/blob/master/stable/artifactory/CHANGELOG.md), pass postgresql.image.tag=9.6.18-debian-10-r7 and databaseUpgradeReady=yes if you are upgrading from chart version which has postgresql version 9.6.x." | quote }}
{{- end }}
spec:
serviceName: {{ template "artifactory.name" . }}
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ postgresql:
image:
registry: docker.bintray.io
repository: bitnami/postgresql
tag: 9.6.18-debian-10-r7
tag: 10.13.0-debian-10-r38
postgresqlUsername: artifactory
postgresqlPassword: ""
postgresqlDatabase: artifactory
Expand Down

0 comments on commit 637c5f6

Please sign in to comment.