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

[xray] 3.107.11 release #1945

Closed
wants to merge 2 commits into from
Closed
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
9 changes: 8 additions & 1 deletion stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# JFrog Xray Chart Changelog
All changes to this chart will be documented in this file.

## [103.104.8] - July 17, 2024
## [103.107.11] - 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`

## [103.102.0] - July 17, 2024
* Added support of specifying resources constraints for RabbitMQ's pre-upgrade-hook job
* Fixed formatting error associated to the `volumeMounts` for the `panoramic` microservice [GH-1895](https://github.com/jfrog/charts/issues/1895)

Expand Down
4 changes: 2 additions & 2 deletions stable/xray/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 3.104.8
appVersion: 3.107.11
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -24,4 +24,4 @@ name: xray
sources:
- https://github.com/jfrog/charts
type: application
version: 103.104.8
version: 103.107.11
7 changes: 6 additions & 1 deletion stable/xray/files/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,9 @@ contextualAnalysis:
exposures:
container:
registry: {{ include "xray.getRegistryByService" (list . "exposures") }}
image: {{ .Values.exposures.image.repository }}
image: {{ .Values.exposures.image.repository }}
{{- if .Values.jas.healthcheck.enabled }}
jas:
healthCheckApi:
enabled: true
{{- end }}
24 changes: 24 additions & 0 deletions stable/xray/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,26 @@ Set xray env variables if rabbitmq.tls is enabled.
{{- end }}
{{- end -}}

{{- define "xray.resolveUsedMasterKeySecretName" -}}
{{- if or .Values.xray.masterKey .Values.xray.masterKeySecretName .Values.global.masterKey .Values.global.masterKeySecretName -}}
{{- if or (not .Values.xray.unifiedSecretInstallation) (or .Values.xray.masterKeySecretName .Values.global.masterKeySecretName) -}}
{{- include "xray.masterKeySecretName" . -}}
{{- else -}}
{{ template "xray.name" . }}-unified-secret
{{- end -}}
{{- end -}}
{{- end -}}

{{- define "xray.resolveUsedJoinKeySecretName" -}}
{{- if or .Values.xray.joinKey .Values.xray.joinKeySecretName .Values.global.joinKey .Values.global.joinKeySecretName -}}
{{- if or (not .Values.xray.unifiedSecretInstallation) (or .Values.xray.joinKeySecretName .Values.global.joinKeySecretName) -}}
{{- include "xray.joinKeySecretName" . -}}
{{- else -}}
{{ template "xray.name" . }}-unified-secret
{{- end -}}
{{- end -}}
{{- end -}}

{{- define "xray.envVariables" }}
- name: XRAY_CHART_FULL_NAME
value: '{{ include "xray.fullname" . }}'
Expand All @@ -704,6 +724,10 @@ Set xray env variables if rabbitmq.tls is enabled.
value: "{{ .Values.systemYamlOverride.existingSecret }}"
- name: XRAY_CHART_SYSTEM_YAML_OVERRIDE_DATA_KEY
value: "{{ .Values.systemYamlOverride.dataKey }}"
- name: XRAY_CHART_MASTER_KEY_SECRET_NAME
value: '{{ include "xray.resolveUsedMasterKeySecretName" . }}'
- name: XRAY_CHART_JOIN_KEY_SECRET_NAME
value: '{{ include "xray.resolveUsedJoinKeySecretName" . }}'
{{- end }}

{{/*
Expand Down
3 changes: 3 additions & 0 deletions stable/xray/templates/migration-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
annotations:
helm.sh/hook: "pre-upgrade"
helm.sh/hook-weight: "-10"
{{- with .Values.rabbitmq.migration.serviceAccount.annotations }}
{{ toYaml . | indent 8 }}
{{- end }}
automountServiceAccountToken: {{ .Values.rabbitmq.migration.serviceAccount.automountServiceAccountToken }}
{{- end }}
{{- end }}
Expand Down
Loading
Loading