Skip to content

Commit

Permalink
Merge pull request #37 from opf/fix/set-security-context-for-check-db…
Browse files Browse the repository at this point in the history
…-ready-container

add missing securityContext to wait-for-db container
  • Loading branch information
machisuji authored Nov 15, 2023
2 parents 51e24f0 + c949bbb commit 0649c0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openproject/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: "https://www.openproject.org/"
icon: "https://www.openproject.org/assets/images/press/openproject-icon-original-color-41055eb6.png"
type: "application"
appVersion: "13"
version: "2.6.0"
version: "2.6.1"
maintainers:
- name: OpenProject
url: https://github.com/opf/helm-charts
Expand Down
4 changes: 4 additions & 0 deletions charts/openproject/templates/seeder-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ spec:
name: {{ include "common.names.fullname" . }}
resources:
{{- toYaml .Values.initdb.resources | nindent 12 }}
{{- if .Values.securityContext.enabled }}
securityContext:
{{- omit .Values.securityContext "enabled" | toYaml | nindent 12 }}
{{- end }}
containers:
- name: seeder
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}{{ if .Values.image.sha256 }}@sha256:{{ .Values.image.sha256 }}{{ else }}:{{ .Values.image.tag }}{{ end }}"
Expand Down

0 comments on commit 0649c0a

Please sign in to comment.