Skip to content

Commit

Permalink
[xray] 3.111.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chukka committed Jan 30, 2025
1 parent bb4e693 commit c277c35
Show file tree
Hide file tree
Showing 21 changed files with 217 additions and 162 deletions.
16 changes: 14 additions & 2 deletions stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# JFrog Xray Chart Changelog
All changes to this chart will be documented in this file.

## [103.107.21] - November 27, 2024
* Added support to read rabbitmq and database secrets from mounted secret files
## [103.111.9] - Jan 15, 2025
* Fix an issue with a warning in the rabbitmq password check
* Updated rabbitmq multi-arch tag version to to `3.13.7-debian-12-r5`
* Updated bitnami kubectl multi-arch tag version to to `1.32.0`

## [103.109.0] - Nov 27, 2024
* **Important changes**
* Upgrade rabbitmq chart version to 14.6.6
* Added catalog as a dependency chart
Expand All @@ -13,6 +17,14 @@ All changes to this chart will be documented in this file.
* 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.108.0] - Nov 11, 2024
* Introduced a validation check in the template to warn users against using the default RabbitMQ password. If a default password is found, the installation will be paused, prompting users to update their credentials before proceeding.
* Fix for panoramic env indentation [GH-1919](https://github.com/jfrog/charts/pull/1919)
* Added memory metric targetMemoryUtilizationPercentage to Xray Horizontal Pod Scaler

## [103.107.0] - September 26, 2024
* Added support to read rabbitmq and database secrets from mounted secret files

## [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)
* Updated rabbitmq multi-arch tag version to to `3.13.6-debian-12-r1`
Expand Down
6 changes: 3 additions & 3 deletions stable/xray/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies:
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"
version: 101.10.0
digest: sha256:f5128e32fcfd3e3e9e163779bba2e576c24709ac38f7d58ce3217c114a4ca4c8
generated: "2025-01-08T14:54:51.409033+05:30"
6 changes: 3 additions & 3 deletions stable/xray/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 3.107.21
appVersion: 3.111.9
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -12,7 +12,7 @@ dependencies:
- condition: catalog.enabled
name: catalog
repository: https://charts.jfrog.io/
version: 101.7.3
version: 101.10.0
description: Universal component scan for security and license inventory and impact
analysis
home: https://www.jfrog.com/xray/
Expand All @@ -28,4 +28,4 @@ name: xray
sources:
- https://github.com/jfrog/charts
type: application
version: 103.107.21
version: 103.111.9
3 changes: 1 addition & 2 deletions stable/xray/ci/default-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ postgresql:
rabbitmq:
auth:
username: guest
password: password
password: rabbitmqpass
persistence:
enabled: false

Expand Down Expand Up @@ -81,7 +81,6 @@ panoramic:


policyenforcer:
enabled: false
resources:
requests:
memory: "300Mi"
Expand Down
4 changes: 0 additions & 4 deletions stable/xray/files/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ server:
migrate_msgs_from_other_rabbitmq: {{ toYaml .Values.global.xray.rabbitmq.migrateMessagesFromOtherRabbitMq | nindent 6 }}
{{- end }}
{{- end }}
{{- if .Values.policyenforcer.enabled }}
policyenforcer:
enabled: true
{{- end }}
{{- if (include "xray.imagePullSecretsStrList" .) }}
executionService:
pullSecret:
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-2xlarge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-medium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-small.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-xlarge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion stable/xray/sizing/xray-xsmall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ observability:
memory: 250Mi

panoramic:
enabled: true
enabled: false
resources:
requests:
cpu: "30m"
Expand Down
14 changes: 10 additions & 4 deletions stable/xray/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ Return the proper xray chart image names
{{- $registryName := index $dot.Values $indexReference "image" "registry" -}}
{{- $repositoryName := index $dot.Values $indexReference "image" "repository" -}}
{{- $tag := default $dot.Chart.AppVersion (index $dot.Values $indexReference "image" "tag") | toString -}}
{{- if and $dot.Values.common.xrayVersion (or (eq $indexReference "persist") (eq $indexReference "server") (eq $indexReference "analysis") (eq $indexReference "sbom") (eq $indexReference "indexer") (eq $indexReference "panoramic")) }}
{{- if and $dot.Values.common.xrayVersion (or (eq $indexReference "persist") (eq $indexReference "server") (eq $indexReference "analysis") (eq $indexReference "sbom") (eq $indexReference "indexer") (eq $indexReference "policyenforcer") (eq $indexReference "panoramic")) }}
{{- $tag = $dot.Values.common.xrayVersion | toString -}}
{{- end -}}
{{- if $dot.Values.global }}
Expand All @@ -459,7 +459,7 @@ Return the proper xray chart image names
{{- if and $dot.Values.global.versions.initContainers (eq $indexReference "initContainers") }}
{{- $tag = $dot.Values.global.versions.initContainers | toString -}}
{{- end -}}
{{- if and $dot.Values.global.versions.xray (or (eq $indexReference "persist") (eq $indexReference "server") (eq $indexReference "analysis") (eq $indexReference "sbom") (eq $indexReference "indexer") (eq $indexReference "panoramic")) }}
{{- if and $dot.Values.global.versions.xray (or (eq $indexReference "persist") (eq $indexReference "server") (eq $indexReference "analysis") (eq $indexReference "sbom") (eq $indexReference "indexer") (eq $indexReference "policyenforcer") (eq $indexReference "panoramic")) }}
{{- $tag = $dot.Values.global.versions.xray | toString -}}
{{- end -}}
{{- if $dot.Values.global.imageRegistry }}
Expand Down Expand Up @@ -526,15 +526,15 @@ for file in $(ls * | grep -v ":" | grep -v grep); do if [ -f "${file}" ]; then c
Resolve xray requiredServiceTypes value
*/}}
{{- define "xray.router.requiredServiceTypes" -}}
{{- $requiredTypes := "jfxr,jfxana,jfxidx,jfxpst,jfob" -}}
{{- $requiredTypes := "jfxr,jfxana,jfxidx,jfxpst,jfxpe,jfob" -}}
{{- $requiredTypes -}}
{{- end -}}

{{/*
Resolve xray ipa requiredServiceTypes value
*/}}
{{- define "xray.router.ipa.requiredServiceTypes" -}}
{{- $requiredTypes := "jfxana,jfxidx,jfxpst,jfob" -}}
{{- $requiredTypes := "jfxana,jfxidx,jfxpst,jfxpe,jfob" -}}
{{- $requiredTypes -}}
{{- end -}}

Expand Down Expand Up @@ -624,6 +624,9 @@ Resolve autoscalingQueues value for ipa
queueName: {{ .name }}
mode: QueueLength
value: "{{ .value }}"
{{- if $.Values.global.xray.rabbitmq.haQuorum.enabled }}
vhostName: "{{ $.Values.global.xray.rabbitmq.haQuorum.vhost }}"
{{- end }}
authenticationRef:
name: keda-trigger-auth-rabbitmq-conn-xray
{{- end }}
Expand All @@ -643,6 +646,9 @@ Resolve autoscalingQueues value for server
queueName: {{ .name }}
mode: QueueLength
value: "{{ .value }}"
{{- if $.Values.global.xray.rabbitmq.haQuorum.enabled }}
vhostName: "{{ $.Values.global.xray.rabbitmq.haQuorum.vhost }}"
{{- end }}
authenticationRef:
name: keda-trigger-auth-rabbitmq-conn-xray
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions stable/xray/templates/keys-warnings.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{{- if and (not .Release.IsUpgrade) (eq .Values.rabbitmq.auth.password "password") .Values.rabbitmq.enabled }}
{{- fail "\n\n**************************************\nSTOP! INSTALLATION not allowed with the default RabbitMQ password!\nPlease change the RabbitMQ password from the default value before proceeding with the installation.\n**************************************\n" }}
{{- end }}

{{- 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" }}
Expand Down
6 changes: 6 additions & 0 deletions stable/xray/templates/xray-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@ spec:
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
Loading

0 comments on commit c277c35

Please sign in to comment.