Skip to content

Commit

Permalink
[xray] 3.83.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chukka committed Oct 17, 2023
1 parent f3db985 commit 5264718
Show file tree
Hide file tree
Showing 6 changed files with 230 additions and 127 deletions.
5 changes: 4 additions & 1 deletion stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# JFrog Xray Chart Changelog
All changes to this chart will be documented in this file.

## [103.82.11] - Jul 16, 2023
## [103.83.9] - Sep 15,2023
* Fixed - Support to configure privateRegistry for pre-upgrade-hook

## [103.80.0] - Jul 16, 2023
* Added `podSecurityContext.enabled` and `containerSecurityContext.enabled` to support openshift

## [103.79.0] - Jul 3, 2023
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.82.11
appVersion: 3.83.9
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -24,4 +24,4 @@ name: xray
sources:
- https://github.com/jfrog/charts
type: application
version: 103.82.11
version: 103.83.9
Binary file modified stable/xray/logo/xray-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion stable/xray/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,11 @@ Return the registry of a service
{{- if $dot.Values.global.imageRegistry }}
{{- $dot.Values.global.imageRegistry }}
{{- else -}}
{{- index $dot.Values $service "image" "registry" -}}
{{- if (eq $service "migrationHook") -}}
{{- index $dot.Values.rabbitmq.migration.image.registry -}}
{{- else -}}
{{- index $dot.Values $service "image" "registry" -}}
{{- end -}}
{{- end -}}
{{- end -}}

Expand Down
5 changes: 4 additions & 1 deletion stable/xray/templates/migration-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,13 @@ spec:
{{- if .Values.rabbitmq.podSecurityContext.enabled }}
securityContext: {{- omit .Values.rabbitmq.podSecurityContext "enabled" | toYaml | nindent 4 }}
{{- end }}
{{- if or .Values.imagePullSecrets .Values.global.imagePullSecrets }}
{{- include "xray.imagePullSecrets" . | indent 2 }}
{{- end }}
serviceAccountName: {{ template "xray.rabbitmq.migration.serviceAccountName" . }}
containers:
- name: pre-upgrade-container
image: releases-docker.jfrog.io/bitnami/kubectl:1.24.12
image: "{{ include "xray.getRegistryByService" (list . "migrationHook") }}/{{ .Values.rabbitmq.migration.image.repository }}:{{ .Values.rabbitmq.migration.image.tag }}"
imagePullPolicy: IfNotPresent
{{- if .Values.rabbitmq.containerSecurityContext.enabled }}
securityContext: {{- omit .Values.rabbitmq.containerSecurityContext "enabled" | toYaml | nindent 8 }}
Expand Down
Loading

0 comments on commit 5264718

Please sign in to comment.