Skip to content

Commit 387d7a1

Browse files
committed
[jfrog-platform] 10.20.1 release
1 parent 22da377 commit 387d7a1

File tree

6 files changed

+33
-14
lines changed

6 files changed

+33
-14
lines changed

stable/jfrog-platform/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# JFrog Platform Chart Changelog (GA releases only)
22
All changes to this chart will be documented in this file.
33

4+
## [10.20.1] - Nov 25, 2024
5+
* Fix jfrog url with duplicate artifactory string when release name has artifactory
6+
* Updated kubectl image to version `1.31.2`
7+
* Update dependency artifactory chart version to 107.98.9
8+
* Update dependency xray chart version to 103.107.11
9+
410
## [10.20.0] - Oct 29, 2024
511
* **IMPORTANT**
612
* 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)

stable/jfrog-platform/Chart.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ dependencies:
77
version: 11.9.3
88
- name: artifactory
99
repository: https://charts.jfrog.io/
10-
version: 107.98.7
10+
version: 107.98.9
1111
- name: xray
1212
repository: https://charts.jfrog.io/
13-
version: 103.104.18
13+
version: 103.107.11
1414
- name: distribution
1515
repository: https://charts.jfrog.io/
1616
version: 102.27.2
@@ -23,5 +23,5 @@ dependencies:
2323
- name: worker
2424
repository: https://charts.jfrog.io/
2525
version: 101.95.1
26-
digest: sha256:2fb3be33472a516a0de2dc53a2cf93bd5d93a504f866c811749b7081780c7c6a
27-
generated: "2024-10-30T07:32:40.338187+05:30"
26+
digest: sha256:602c005909577fd36db25644f96b3895de318f1df5e4e3071e9a5cd777034c76
27+
generated: "2024-11-26T07:09:43.088388+05:30"

stable/jfrog-platform/Chart.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 7.98.7
2+
appVersion: 7.98.9
33
dependencies:
44
- condition: postgresql.enabled
55
name: postgresql
@@ -12,11 +12,11 @@ dependencies:
1212
- condition: artifactory.enabled
1313
name: artifactory
1414
repository: https://charts.jfrog.io/
15-
version: 107.98.7
15+
version: 107.98.9
1616
- condition: xray.enabled
1717
name: xray
1818
repository: https://charts.jfrog.io/
19-
version: 103.104.18
19+
version: 103.107.11
2020
- condition: distribution.enabled
2121
name: distribution
2222
repository: https://charts.jfrog.io/
@@ -55,4 +55,4 @@ name: jfrog-platform
5555
sources:
5656
- https://github.com/jfrog/charts
5757
type: application
58-
version: 10.20.0
58+
version: 10.20.1

stable/jfrog-platform/templates/_helpers.tpl

+14-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ Expand the name of the chart.
66
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
77
{{- end }}
88

9+
{{/*
10+
Handle uscases where the release name contains artifactory as part of it
11+
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
12+
*/}}
13+
{{- define "jfrog-platform.artifactory.fullname" -}}
14+
{{- $name := "artifactory" -}}
15+
{{- if contains $name .Release.Name -}}
16+
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
17+
{{- else -}}
18+
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
19+
{{- end -}}
20+
{{- end -}}
21+
922
{{/*
1023
Create a default fully qualified app name.
1124
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
@@ -269,7 +282,7 @@ Define database name
269282
Resolve jfrog url
270283
*/}}
271284
{{- define "jfrog-platform.jfrogUrl" -}}
272-
{{- printf "http://%s-artifactory:8082" .Release.Name -}}
285+
{{- printf "http://%s:8082" (include "jfrog-platform.artifactory.fullname" .) -}}
273286
{{- end -}}
274287

275288
{{/*

stable/jfrog-platform/templates/upgrade-hook.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ spec:
145145
{{- end }}
146146
147147
{{- if not .Values.artifactory.mc.enabled }}
148-
systemYamlUnifiedSecret={{ .Release.Name }}-artifactory-unified-secret
149-
systemYamlSecret={{ .Release.Name }}-artifactory-systemyaml
148+
systemYamlUnifiedSecret={{ include "jfrog-platform.artifactory.fullname" . }}-unified-secret
149+
systemYamlSecret={{ include "jfrog-platform.artifactory.fullname" . }}-systemyaml
150150
systemYamlEncoded=$(kubectl get secrets "$systemYamlUnifiedSecret" -o jsonpath="{.data.system\.yaml}")
151151
if [ $? -ne 0 ]; then
152152
systemYamlEncoded=$(kubectl get secrets "$systemYamlSecret" -o jsonpath="{.data.system\.yaml}")

stable/jfrog-platform/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ rabbitmq:
191191
image:
192192
registry: "{{ .Values.global.imageRegistry }}"
193193
repository: bitnami/kubectl
194-
tag: 1.24.12
194+
tag: 1.31.2
195195
pullPolicy: IfNotPresent
196196
resources:
197197
requests:
@@ -232,7 +232,7 @@ rabbitmq:
232232
artifactory:
233233
enabled: true
234234
unifiedUpgradeAllowed: true
235-
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 }}"}]}'
235+
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 }}"}]}'
236236
postgresql:
237237
enabled: false
238238
waitForDatabase: false
@@ -361,7 +361,7 @@ preUpgradeHook:
361361
image:
362362
registry: "{{ .Values.global.imageRegistry }}"
363363
repository: bitnami/kubectl
364-
tag: 1.24.12
364+
tag: 1.31.2
365365
pullPolicy: IfNotPresent
366366
resources:
367367
requests:

0 commit comments

Comments
 (0)