Skip to content

Commit 22da377

Browse files
committed
[xray] 3.107.11 release
1 parent 9702937 commit 22da377

10 files changed

+223
-413
lines changed

stable/xray/CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# JFrog Xray Chart Changelog
22
All changes to this chart will be documented in this file.
33

4-
## [103.104.18] - July 17, 2024
4+
## [103.107.11] - September 26, 2024
5+
* Added support to read rabbitmq and database secrets from mounted secret files
6+
7+
## [103.105.0] - August 22, 2024
8+
* Added support for `serviceAccount.annotations`to be passed to chart [GH-1841](https://github.com/jfrog/charts/pull/1841)
9+
* Updated rabbitmq multi-arch tag version to to `3.13.6-debian-12-r1`
10+
11+
## [103.102.0] - July 17, 2024
512
* Added support of specifying resources constraints for RabbitMQ's pre-upgrade-hook job
613
* Fixed formatting error associated to the `volumeMounts` for the `panoramic` microservice [GH-1895](https://github.com/jfrog/charts/issues/1895)
714

stable/xray/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 3.104.18
2+
appVersion: 3.107.11
33
dependencies:
44
- condition: postgresql.enabled
55
name: postgresql
@@ -24,4 +24,4 @@ name: xray
2424
sources:
2525
- https://github.com/jfrog/charts
2626
type: application
27-
version: 103.104.18
27+
version: 103.107.11

stable/xray/files/system.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,9 @@ contextualAnalysis:
8282
exposures:
8383
container:
8484
registry: {{ include "xray.getRegistryByService" (list . "exposures") }}
85-
image: {{ .Values.exposures.image.repository }}
85+
image: {{ .Values.exposures.image.repository }}
86+
{{- if .Values.jas.healthcheck.enabled }}
87+
jas:
88+
healthCheckApi:
89+
enabled: true
90+
{{- end }}

stable/xray/templates/_helpers.tpl

+24
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,26 @@ Set xray env variables if rabbitmq.tls is enabled.
693693
{{- end }}
694694
{{- end -}}
695695

696+
{{- define "xray.resolveUsedMasterKeySecretName" -}}
697+
{{- if or .Values.xray.masterKey .Values.xray.masterKeySecretName .Values.global.masterKey .Values.global.masterKeySecretName -}}
698+
{{- if or (not .Values.xray.unifiedSecretInstallation) (or .Values.xray.masterKeySecretName .Values.global.masterKeySecretName) -}}
699+
{{- include "xray.masterKeySecretName" . -}}
700+
{{- else -}}
701+
{{ template "xray.name" . }}-unified-secret
702+
{{- end -}}
703+
{{- end -}}
704+
{{- end -}}
705+
706+
{{- define "xray.resolveUsedJoinKeySecretName" -}}
707+
{{- if or .Values.xray.joinKey .Values.xray.joinKeySecretName .Values.global.joinKey .Values.global.joinKeySecretName -}}
708+
{{- if or (not .Values.xray.unifiedSecretInstallation) (or .Values.xray.joinKeySecretName .Values.global.joinKeySecretName) -}}
709+
{{- include "xray.joinKeySecretName" . -}}
710+
{{- else -}}
711+
{{ template "xray.name" . }}-unified-secret
712+
{{- end -}}
713+
{{- end -}}
714+
{{- end -}}
715+
696716
{{- define "xray.envVariables" }}
697717
- name: XRAY_CHART_FULL_NAME
698718
value: '{{ include "xray.fullname" . }}'
@@ -704,6 +724,10 @@ Set xray env variables if rabbitmq.tls is enabled.
704724
value: "{{ .Values.systemYamlOverride.existingSecret }}"
705725
- name: XRAY_CHART_SYSTEM_YAML_OVERRIDE_DATA_KEY
706726
value: "{{ .Values.systemYamlOverride.dataKey }}"
727+
- name: XRAY_CHART_MASTER_KEY_SECRET_NAME
728+
value: '{{ include "xray.resolveUsedMasterKeySecretName" . }}'
729+
- name: XRAY_CHART_JOIN_KEY_SECRET_NAME
730+
value: '{{ include "xray.resolveUsedJoinKeySecretName" . }}'
707731
{{- end }}
708732

709733
{{/*

stable/xray/templates/migration-hook.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ metadata:
1616
annotations:
1717
helm.sh/hook: "pre-upgrade"
1818
helm.sh/hook-weight: "-10"
19+
{{- with .Values.rabbitmq.migration.serviceAccount.annotations }}
20+
{{ toYaml . | indent 8 }}
21+
{{- end }}
1922
automountServiceAccountToken: {{ .Values.rabbitmq.migration.serviceAccount.automountServiceAccountToken }}
2023
{{- end }}
2124
{{- end }}

0 commit comments

Comments
 (0)