Skip to content

Commit

Permalink
[jfrog-platform] 10.20.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chukka committed Nov 26, 2024
1 parent 22da377 commit 387d7a1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 14 deletions.
6 changes: 6 additions & 0 deletions stable/jfrog-platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# JFrog Platform Chart Changelog (GA releases only)
All changes to this chart will be documented in this file.

## [10.20.1] - Nov 25, 2024
* Fix jfrog url with duplicate artifactory string when release name has artifactory
* Updated kubectl image to version `1.31.2`
* Update dependency artifactory chart version to 107.98.9
* Update dependency xray chart version to 103.107.11

## [10.20.0] - Oct 29, 2024
* **IMPORTANT**
* Added new dependency chart `worker` which is disabled by default and set `worker.enabled: true` to enable it. More info [here](https://jfrog.com/help/r/jfrog-installation-setup-documentation/installing-jfrog-worker)
Expand Down
8 changes: 4 additions & 4 deletions stable/jfrog-platform/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ dependencies:
version: 11.9.3
- name: artifactory
repository: https://charts.jfrog.io/
version: 107.98.7
version: 107.98.9
- name: xray
repository: https://charts.jfrog.io/
version: 103.104.18
version: 103.107.11
- name: distribution
repository: https://charts.jfrog.io/
version: 102.27.2
Expand All @@ -23,5 +23,5 @@ dependencies:
- name: worker
repository: https://charts.jfrog.io/
version: 101.95.1
digest: sha256:2fb3be33472a516a0de2dc53a2cf93bd5d93a504f866c811749b7081780c7c6a
generated: "2024-10-30T07:32:40.338187+05:30"
digest: sha256:602c005909577fd36db25644f96b3895de318f1df5e4e3071e9a5cd777034c76
generated: "2024-11-26T07:09:43.088388+05:30"
8 changes: 4 additions & 4 deletions stable/jfrog-platform/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 7.98.7
appVersion: 7.98.9
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -12,11 +12,11 @@ dependencies:
- condition: artifactory.enabled
name: artifactory
repository: https://charts.jfrog.io/
version: 107.98.7
version: 107.98.9
- condition: xray.enabled
name: xray
repository: https://charts.jfrog.io/
version: 103.104.18
version: 103.107.11
- condition: distribution.enabled
name: distribution
repository: https://charts.jfrog.io/
Expand Down Expand Up @@ -55,4 +55,4 @@ name: jfrog-platform
sources:
- https://github.com/jfrog/charts
type: application
version: 10.20.0
version: 10.20.1
15 changes: 14 additions & 1 deletion stable/jfrog-platform/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ Expand the name of the chart.
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Handle uscases where the release name contains artifactory as part of it
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "jfrog-platform.artifactory.fullname" -}}
{{- $name := "artifactory" -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
Expand Down Expand Up @@ -269,7 +282,7 @@ Define database name
Resolve jfrog url
*/}}
{{- define "jfrog-platform.jfrogUrl" -}}
{{- printf "http://%s-artifactory:8082" .Release.Name -}}
{{- printf "http://%s:8082" (include "jfrog-platform.artifactory.fullname" .) -}}
{{- end -}}

{{/*
Expand Down
4 changes: 2 additions & 2 deletions stable/jfrog-platform/templates/upgrade-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ spec:
{{- end }}
{{- if not .Values.artifactory.mc.enabled }}
systemYamlUnifiedSecret={{ .Release.Name }}-artifactory-unified-secret
systemYamlSecret={{ .Release.Name }}-artifactory-systemyaml
systemYamlUnifiedSecret={{ include "jfrog-platform.artifactory.fullname" . }}-unified-secret
systemYamlSecret={{ include "jfrog-platform.artifactory.fullname" . }}-systemyaml
systemYamlEncoded=$(kubectl get secrets "$systemYamlUnifiedSecret" -o jsonpath="{.data.system\.yaml}")
if [ $? -ne 0 ]; then
systemYamlEncoded=$(kubectl get secrets "$systemYamlSecret" -o jsonpath="{.data.system\.yaml}")
Expand Down
6 changes: 3 additions & 3 deletions stable/jfrog-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ rabbitmq:
image:
registry: "{{ .Values.global.imageRegistry }}"
repository: bitnami/kubectl
tag: 1.24.12
tag: 1.31.2
pullPolicy: IfNotPresent
resources:
requests:
Expand Down Expand Up @@ -232,7 +232,7 @@ rabbitmq:
artifactory:
enabled: true
unifiedUpgradeAllowed: true
installerInfo: '{"productId":"Helm_JFrogPlatform/{{ printf "10.20.0-%s" .Chart.AppVersion }}","features":[{"featureId":"Platform/{{ printf "%s-%s" "kubernetes" .Capabilities.KubeVersion.Version }}"},{"featureId":"Database/{{ .Values.database.type }}"},{"featureId":"Nginx_Enabled/{{ .Values.nginx.enabled }}"},{"featureId":"ArtifactoryPersistence_Type/{{ .Values.artifactory.persistence.type }}"},{"featureId":"SplitServicesToContainers_Enabled/{{ .Values.splitServicesToContainers }}"},{"featureId":"Filebeat_Enabled/{{ .Values.filebeat.enabled }}"},{"featureId":"ReplicaCount/{{ .Values.artifactory.replicaCount }}"}]}'
installerInfo: '{"productId":"Helm_JFrogPlatform/{{ printf "10.20.1-%s" .Chart.AppVersion }}","features":[{"featureId":"Platform/{{ printf "%s-%s" "kubernetes" .Capabilities.KubeVersion.Version }}"},{"featureId":"Database/{{ .Values.database.type }}"},{"featureId":"Nginx_Enabled/{{ .Values.nginx.enabled }}"},{"featureId":"ArtifactoryPersistence_Type/{{ .Values.artifactory.persistence.type }}"},{"featureId":"SplitServicesToContainers_Enabled/{{ .Values.splitServicesToContainers }}"},{"featureId":"Filebeat_Enabled/{{ .Values.filebeat.enabled }}"},{"featureId":"ReplicaCount/{{ .Values.artifactory.replicaCount }}"}]}'
postgresql:
enabled: false
waitForDatabase: false
Expand Down Expand Up @@ -361,7 +361,7 @@ preUpgradeHook:
image:
registry: "{{ .Values.global.imageRegistry }}"
repository: bitnami/kubectl
tag: 1.24.12
tag: 1.31.2
pullPolicy: IfNotPresent
resources:
requests:
Expand Down

0 comments on commit 387d7a1

Please sign in to comment.