Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jfrog-platform] 10.20.2 release #1947

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/artifactory-cpp-ce/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JFrog Artifactory CE for C++ Chart Changelog
All changes to this chart will be documented in this file

## [107.98.9] - Feb 20, 2024
## [107.98.10] - Feb 20, 2024
* Updated `artifactory.installerInfo` content

## [107.80.0] - Feb 1, 2024
Expand Down
6 changes: 3 additions & 3 deletions stable/artifactory-cpp-ce/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: 7.98.9
appVersion: 7.98.10
dependencies:
- name: artifactory
repository: file://charts/artifactory
version: 107.98.9
version: 107.98.10
description: JFrog Artifactory CE for C++
home: https://www.jfrog.com/artifactory/
icon: https://raw.githubusercontent.com/jfrog/charts/master/stable/artifactory-cpp-ce/logo/conan.png
Expand All @@ -21,4 +21,4 @@ name: artifactory-cpp-ce
sources:
- https://github.com/jfrog/charts
type: application
version: 107.98.9
version: 107.98.10
2 changes: 1 addition & 1 deletion stable/artifactory-ha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JFrog Artifactory-ha Chart Changelog
All changes to this chart will be documented in this file

## [107.98.9] - Nov 06, 2024
## [107.98.10] - Nov 06, 2024
* Add support for `extraEnvironmentVariables` on filebeat Sidecar [GH-1377](https://github.com/jfrog/charts/pull/1377)
* Support for SSL offload HTTPS proto override in Nginx service (ClusterIP, LoadBalancer) layer. Introduced `nginx.service.ssloffloadForceHttps` field with boolean type. [GH-1906](https://github.com/jfrog/charts/pull/1906)
* Enable Access workers integration when artifactory.worker.enabled is true
Expand Down
8 changes: 4 additions & 4 deletions stable/artifactory-ha/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
annotations:
artifactoryServiceVersion: 7.98.10
metadataVersion: 7.90.4
artifactoryServiceVersion: 7.98.11
metadataVersion: 7.90.5
observabilityVersion: 1.31.5
apiVersion: v2
appVersion: 7.98.9
appVersion: 7.98.10
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -25,4 +25,4 @@ name: artifactory-ha
sources:
- https://github.com/jfrog/charts
type: application
version: 107.98.9
version: 107.98.10
2 changes: 1 addition & 1 deletion stable/artifactory-jcr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JFrog Container Registry Chart Changelog
All changes to this chart will be documented in this file.

## [107.98.9] - Feb 20, 2024
## [107.98.10] - Feb 20, 2024
* Updated `artifactory.installerInfo` content

## [107.80.0] - Feb 1, 2024
Expand Down
6 changes: 3 additions & 3 deletions stable/artifactory-jcr/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: 7.98.9
appVersion: 7.98.10
dependencies:
- name: artifactory
repository: file://charts/artifactory
version: 107.98.9
version: 107.98.10
description: JFrog Container Registry
home: https://jfrog.com/container-registry/
icon: https://raw.githubusercontent.com/jfrog/charts/master/stable/artifactory-jcr/logo/jcr-logo.png
Expand All @@ -22,4 +22,4 @@ name: artifactory-jcr
sources:
- https://github.com/jfrog/charts
type: application
version: 107.98.9
version: 107.98.10
2 changes: 1 addition & 1 deletion stable/artifactory-oss/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JFrog Artifactory OSS Chart Changelog
All changes to this chart will be documented in this file

## [107.98.9] - Feb 20, 2024
## [107.98.10] - Feb 20, 2024
* Updated `artifactory.installerInfo` content

## [107.80.0] - Feb 1, 2024
Expand Down
6 changes: 3 additions & 3 deletions stable/artifactory-oss/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: 7.98.9
appVersion: 7.98.10
dependencies:
- name: artifactory
repository: file://charts/artifactory
version: 107.98.9
version: 107.98.10
description: JFrog Artifactory OSS
home: https://www.jfrog.com/artifactory/
icon: https://raw.githubusercontent.com/jfrog/charts/master/stable/artifactory/logo/artifactory-logo.png
Expand All @@ -20,4 +20,4 @@ name: artifactory-oss
sources:
- https://github.com/jfrog/charts
type: application
version: 107.98.9
version: 107.98.10
2 changes: 1 addition & 1 deletion stable/artifactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JFrog Artifactory Chart Changelog
All changes to this chart will be documented in this file.

## [107.98.9] - Nov 06, 2024
## [107.98.10] - Nov 06, 2024
* Add support for `extraEnvironmentVariables` on filebeat Sidecar [GH-1377](https://github.com/jfrog/charts/pull/1377)
* Support for SSL offload HTTPS proto override in Nginx service (ClusterIP, LoadBalancer) layer. Introduced `nginx.service.ssloffloadForceHttps` field with boolean type. [GH-1906](https://github.com/jfrog/charts/pull/1906)
* Enable Access workers integration when artifactory.worker.enabled is true
Expand Down
4 changes: 2 additions & 2 deletions stable/artifactory/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 7.98.9
appVersion: 7.98.10
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -21,4 +21,4 @@ name: artifactory
sources:
- https://github.com/jfrog/charts
type: application
version: 107.98.9
version: 107.98.10
4 changes: 4 additions & 0 deletions stable/jfrog-platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# JFrog Platform Chart Changelog (GA releases only)
All changes to this chart will be documented in this file.

## [10.20.2] - December 12, 2024
* Update dependency artifactory chart version to 107.98.10
* Update dependency xray chart version to 103.107.16

## [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`
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.9
version: 107.98.10
- name: xray
repository: https://charts.jfrog.io/
version: 103.107.11
version: 103.107.16
- 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:602c005909577fd36db25644f96b3895de318f1df5e4e3071e9a5cd777034c76
generated: "2024-11-26T07:09:43.088388+05:30"
digest: sha256:b46e2d6768279b4c9c4c47c6a3defdf2dacbaf2d64a27f90f735c256868465d1
generated: "2024-12-12T08:39:32.108588401Z"
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.9
appVersion: 7.98.10
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.9
version: 107.98.10
- condition: xray.enabled
name: xray
repository: https://charts.jfrog.io/
version: 103.107.11
version: 103.107.16
- 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.1
version: 10.20.2
2 changes: 1 addition & 1 deletion stable/jfrog-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ rabbitmq:
artifactory:
enabled: true
unifiedUpgradeAllowed: true
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 }}"}]}'
installerInfo: '{"productId":"Helm_JFrogPlatform/{{ printf "10.20.2-%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
11 changes: 10 additions & 1 deletion stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# JFrog Xray Chart Changelog
All changes to this chart will be documented in this file.

## [103.107.11] - September 26, 2024
## [103.107.16] - November 27, 2024
* Added support to read rabbitmq and database secrets from mounted secret files
* **Important changes**
* Upgrade rabbitmq chart version to 14.6.6
* Added catalog as a dependency chart
* **Breaking changes**
* Upgrade postgres chart version to 15.5.20
* This has many changes related to key names and path in values yaml
* The effected keys present in default yaml have been aligned to the new path in 15.5.20
* if you have customised any keys, make sure to validate it with the 15.5.20 chart
* Delete the postgresql statefulset and postgresql secret before the upgrade. for more information, please refer the [xray upgrade docs](https://jfrog.com/help/r/jfrog-installation-setup-documentation/upgrading-xray)

## [103.105.0] - August 22, 2024
* Added support for `serviceAccount.annotations`to be passed to chart [GH-1841](https://github.com/jfrog/charts/pull/1841)
Expand Down
11 changes: 7 additions & 4 deletions stable/xray/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
dependencies:
- name: postgresql
repository: https://charts.jfrog.io/
version: 10.3.18
version: 15.5.20
- name: rabbitmq
repository: https://charts.jfrog.io/
version: 11.9.3
digest: sha256:07d819a08ebaae2057071eb70bad38ad8209bd611c73d906e3313cd5c20806d1
generated: "2023-02-20T19:44:20.844286+05:30"
version: 14.6.6
- name: catalog
repository: https://charts.jfrog.io/
version: 101.7.3
digest: sha256:64d23e13fb197b92e3c3dfe7497a933c87656b575182485b4d28ca8a0b5967ca
generated: "2024-12-02T15:25:33.588122+05:30"
12 changes: 8 additions & 4 deletions stable/xray/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
apiVersion: v2
appVersion: 3.107.11
appVersion: 3.107.16
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: https://charts.jfrog.io/
version: 10.3.18
version: 15.5.20
- condition: rabbitmq.enabled
name: rabbitmq
repository: https://charts.jfrog.io/
version: 11.9.3
version: 14.6.6
- condition: catalog.enabled
name: catalog
repository: https://charts.jfrog.io/
version: 101.7.3
description: Universal component scan for security and license inventory and impact
analysis
home: https://www.jfrog.com/xray/
Expand All @@ -24,4 +28,4 @@ name: xray
sources:
- https://github.com/jfrog/charts
type: application
version: 103.107.11
version: 103.107.16
9 changes: 6 additions & 3 deletions stable/xray/ci/default-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ common:
enabled: false
# To Fix ct tool --reuse-values - PASSWORDS ERROR: you must provide your current passwords when upgrade the release
postgresql:
postgresqlPassword: password
persistence:
enabled: false
auth:
# jfrog-ignore
password: "password1"
primary:
persistence:
enabled: false

rabbitmq:
auth:
Expand Down
6 changes: 3 additions & 3 deletions stable/xray/files/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ shared:
logging:
consoleLog:
enabled: {{ .Values.xray.consoleLog }}
jfrogUrl: "{{ tpl (required "\n\nxray.jfrogUrl or global.jfrogUrl is required! This allows to connect to Artifactory.\nYou can copy the JFrog URL from Administration > User Management > Settings > Connection details" (include "xray.jfrogUrl" .)) . }}"
jfrogUrl: "{{ tpl (required "\n\nxray.jfrogUrl or global.jfrogUrl is required! This allows to connect to Artifactory.\nYou can copy the JFrog URL from Administration > Platform Security > General > Connection details" (include "xray.jfrogUrl" .)) . }}"
database:
{{- if .Values.postgresql.enabled }}
type: "postgresql"
driver: "org.postgresql.Driver"
username: "{{ .Values.postgresql.postgresqlUsername }}"
url: "postgres://{{ .Release.Name }}-postgresql:{{ .Values.postgresql.service.port }}/{{ .Values.postgresql.postgresqlDatabase }}?sslmode=disable"
username: "{{ .Values.postgresql.auth.username }}"
url: "postgres://{{ .Release.Name }}-postgresql:{{ .Values.postgresql.primary.service.ports.postgresql }}/{{ .Values.postgresql.auth.database }}?sslmode=disable"
{{- else }}
type: {{ .Values.database.type }}
driver: {{ .Values.database.driver }}
Expand Down
69 changes: 69 additions & 0 deletions stable/xray/templates/catalog-db-create-hook.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{{- if and .Values.catalog.createCatalogDb.enabled .Values.catalog.enabled .Values.postgresql.enabled -}}
apiVersion: batch/v1
kind: Job
metadata:
labels:
app: {{ template "xray.name" . }}
chart: {{ template "xray.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "xray.fullname" . }}-catalog-create-db
annotations:
"helm.sh/hook": "post-upgrade,post-install"
"helm.sh/hook-delete-policy": hook-succeeded
spec:
template:
metadata:
labels:
app: {{ template "xray.name" . }}
chart: {{ template "xray.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
spec:
{{- if .Values.podSecurityContext.enabled }}
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
{{- if or .Values.imagePullSecrets .Values.global.imagePullSecrets }}
{{- include "xray.imagePullSecrets" . | indent 6 }}
{{- end }}
serviceAccountName: {{ template "xray.serviceAccountName" . }}
restartPolicy: OnFailure
terminationGracePeriodSeconds: 0
containers:
- name: catalog-create-db
image: {{ .Values.catalog.createCatalogDb.image }}
imagePullPolicy: IfNotPresent
{{- if .Values.containerSecurityContext.enabled }}
securityContext:
{{- toYaml (omit .Values.containerSecurityContext "enabled") | nindent 12 }}
{{- end }}
{{- if .Values.initContainers.resources }}
resources: {{- toYaml .Values.initContainers.resources | nindent 12 }}
{{- end }}
command:
- 'bash'
- '-c'
- |
echo "Waiting for postgresql to come up"
ready=false;
while ! $ready; do echo waiting;
timeout 2s bash -c "</dev/tcp/{{ .Release.Name }}-postgresql/{{ .Values.postgresql.primary.service.ports.postgresql }}"; exit_status=$?;
if [[ $exit_status -eq 0 ]]; then ready=true; echo "database ok"; fi; sleep 1;
done;

psql "postgres://{{ .Values.catalog.database.user }}:${PGPASSWORD}@{{ .Release.Name }}-postgresql:5432/catalogdb?sslmode=disable" -c "\q" 2>/dev/null
exit_status=$?
if [[ $exit_status -eq 0 ]]; then
ready=true
echo "catalogdb database is available"
exit 0
fi

psql -h {{ .Release.Name }}-postgresql --username "{{ .Values.postgresql.auth.username }}" -d {{ .Values.postgresql.auth.database }} -c "CREATE DATABASE catalogdb;" -c "GRANT ALL PRIVILEGES ON DATABASE catalogdb TO {{ .Values.postgresql.auth.username }};"
env:
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: "{{ .Release.Name }}-postgresql"
key: password
{{- end -}}
11 changes: 11 additions & 0 deletions stable/xray/templates/keys-warnings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{- if .Values.postgresql.enabled }}
{{- if .Values.postgresql.postgresqlPassword }}
{{- fail "\n\nThe key 'postgresql.postgresqlPassword' is not supported in the latest packaged version of Postgres in this chart.\nUse the new key 'postgresql.auth.postgresPassword' to proceed with installation.\n" }}
{{- end }}
{{- if .Values.postgresql.postgresqlExtendedConf }}
{{- fail "\n\nThe key 'postgresql.postgresqlExtendedConf' is not supported in the latest packaged version of postgres in this chart.\nUse the new key 'postgresql.primary.extendedConfiguration' to proceed with installation.\n" }}
{{- end }}
{{- if .Values.global.postgresqlPassword }}
{{- fail "\n\nThe key 'global.postgresqlPassword' is not supported in the latest packaged version of postgres in this chart.\nUse the new key 'global.auth.postgresPassword' to proceed with installation.\n" }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions stable/xray/templates/xray-ipa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ spec:
key: db-password
{{- else if .Values.postgresql.enabled }}
name: {{ .Release.Name }}-postgresql
key: postgresql-password
key: password
{{- end }}
{{- end }}
volumeMounts:
Expand Down Expand Up @@ -274,7 +274,7 @@ spec:
echo "Waiting for postgresql to come up"
ready=false;
while ! $ready; do echo waiting;
timeout 2s bash -c "</dev/tcp/{{ .Release.Name }}-postgresql/{{ .Values.postgresql.service.port }}"; exit_status=$?;
timeout 2s bash -c "</dev/tcp/{{ .Release.Name }}-postgresql/{{ .Values.postgresql.primary.service.ports.postgresql }}"; exit_status=$?;
if [[ $exit_status -eq 0 ]]; then ready=true; echo "database ok"; fi; sleep 1;
done
{{- end }}
Expand Down
Loading
Loading