Skip to content

Commit

Permalink
upgraded dependencies, fixed app version tag and repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Apr 11, 2024
1 parent 0c66dc4 commit d0aa7bb
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
8 changes: 4 additions & 4 deletions requirements.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: redis
repository: oci://registry-1.docker.io/bitnamicharts
version: 18.19.4
version: 19.1.0
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 13.4.6
digest: sha256:bf1381bd95e1b7b7b93fc6e69ebc9c40c46ac7d39e6cbfa148e626b17f4d319c
generated: "2024-03-27T00:08:04.068636333+02:00"
version: 15.2.5
digest: sha256:737414ecea2a8b28eb5170ec23dcc35251a77836e71283623d29874c4404159c
generated: "2024-04-11T10:04:30.905003+03:00"
4 changes: 2 additions & 2 deletions requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: redis
version: "^18.9.0"
version: "^19.1.0"
repository: oci://registry-1.docker.io/bitnamicharts
condition: redis.enabled
- name: postgresql
version: "^13.4.1"
version: "^15.2.0"
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled
10 changes: 5 additions & 5 deletions templates/hook-migrations-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ spec:
template:
metadata:
name: "{{ .Release.Name }}"
labels: {{- include "redash.selectorLabels" . | nindent 8 }}
labels: {{ include "redash.selectorLabels" . | nindent 8 }}
{{- with .Values.migrations.podAnnotations }}
annotations: {{ toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 8 }}
imagePullSecrets: {{ toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "redash.serviceAccountName" . }}
restartPolicy: Never
securityContext: {{- toYaml .Values.migrations.podSecurityContext | nindent 8 }}
securityContext: {{ toYaml .Values.migrations.podSecurityContext | nindent 8 }}
containers:
- name: {{ include "redash.name" . }}-server
securityContext: {{- toYaml .Values.migrations.securityContext | nindent 10 }}
image: "{{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag }}"
securityContext: {{ toYaml .Values.migrations.securityContext | nindent 10 }}
image: "{{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- create_db
Expand Down
12 changes: 6 additions & 6 deletions templates/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ spec:
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 8 }}
imagePullSecrets: {{ toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "redash.serviceAccountName" . }}
securityContext: {{- toYaml .Values.scheduler.podSecurityContext | nindent 8 }}
securityContext: {{ toYaml .Values.scheduler.podSecurityContext | nindent 8 }}
containers:
{{- with .Values.scheduler.extraContainers -}}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: {{ include "redash.name" . }}-scheduler
securityContext: {{- toYaml .Values.scheduler.securityContext | nindent 12 }}
image: {{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag }}
securityContext: {{ toYaml .Values.scheduler.securityContext | nindent 12 }}
image: {{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.scheduler.volumeMounts }}
volumeMounts: {{- toYaml . | nindent 12 }}
volumeMounts: {{ toYaml . | nindent 12 }}
{{- end }}
args:
- scheduler
Expand All @@ -57,7 +57,7 @@ spec:
resources: {{ toYaml .Values.scheduler.resources | nindent 12 }}
{{- end }}
{{- with .Values.scheduler.volumes }}
volumes: {{- toYaml . | nindent 8 }}
volumes: {{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.scheduler.nodeSelector }}
nodeSelector: {{ toYaml . | nindent 8 }}
Expand Down
12 changes: 6 additions & 6 deletions templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ spec:
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 8 }}
imagePullSecrets: {{ toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "redash.serviceAccountName" . }}
securityContext: {{- toYaml .Values.server.podSecurityContext | nindent 8 }}
securityContext: {{ toYaml .Values.server.podSecurityContext | nindent 8 }}
containers:
{{- with .Values.server.extraContainers -}}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: {{ include "redash.name" . }}-server
securityContext: {{- toYaml .Values.server.securityContext | nindent 12 }}
image: {{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag }}
securityContext: {{ toYaml .Values.server.securityContext | nindent 12 }}
image: {{ .Values.image.registry }}/{{ .Values.image.repo }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.server.volumeMounts }}
volumeMounts: {{- toYaml . | nindent 12 }}
volumeMounts: {{ toYaml . | nindent 12 }}
{{- end }}
args:
- server
Expand Down Expand Up @@ -77,7 +77,7 @@ spec:
resources: {{ toYaml .Values.server.resources | nindent 12 }}
{{- end }}
{{- with .Values.server.volumes }}
volumes: {{- toYaml . | nindent 8 }}
volumes: {{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.nodeSelector }}
nodeSelector: {{ toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
{{- end }}
- name: {{ include "redash.name" $context }}-{{ $workerName }}worker
securityContext: {{ toYaml $workerConfig.securityContext | nindent 12 }}
image: {{ $.Values.image.registry }}/{{ $.Values.image.repo }}:{{ $.Values.image.tag }}
image: {{ $.Values.image.registry }}/{{ $.Values.image.repo }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}
imagePullPolicy: {{ $.Values.image.pullPolicy }}
args:
- worker
Expand Down
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
image:
registry: docker.io
# image.repo -- Redash image name used for server and worker pods
repo: redash/redash
repo: redash/preview
# image.tag -- Redash image [tag](https://hub.docker.com/r/redash/redash/tags)
tag: 10.1.0.b50633
tag:
# image.pullPolicy - Image pull policy
pullPolicy: IfNotPresent

Expand Down

0 comments on commit d0aa7bb

Please sign in to comment.