Skip to content

Commit

Permalink
add resources to init containers: #59
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeschiren committed Sep 20, 2024
1 parent cf3376d commit 0b63495
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/directus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
- name: uploads
mountPath: /directus/uploads
subPath: uploads
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.mariadb.enabled }}
- name: db-init
image: "{{ .Values.mariadb.image.registry }}/{{ .Values.mariadb.image.repository }}:{{ .Values.mariadb.image.tag }}"
Expand Down Expand Up @@ -117,6 +119,8 @@ spec:
- configMapRef:
name: {{ include "directus.fullname" . }}-extra-environment-variables
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.snapshot }}
- name: {{ .Chart.Name }}-schema-snapshot
securityContext:
Expand Down

0 comments on commit 0b63495

Please sign in to comment.