Skip to content

Commit

Permalink
fix: support arm data catalog db
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Jun 27, 2024
1 parent 07b0145 commit 72dfc8a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/mint/templates/datacatalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,19 @@ spec:
name: {{ include "mint.prefix" . }}-data-catalog-db-secrets
key: password
- name: data-catalog-db

{{- if .Values.arm_support }}
{{- with .Values.components.data_catalog_db }}
image: "{{ .arm_image.repository }}:{{ .arm_image.tag | default $.Chart.AppVersion }}"
imagePullPolicy: {{ .arm_image.pullPolicy }}
{{- end }}
{{- else }}
{{- with .Values.components.data_catalog_db }}
image: "{{ .image.repository }}:{{ .image.tag | default $.Chart.AppVersion }}"
imagePullPolicy: {{ .image.pullPolicy }}
{{- end }}
{{- end }}

resources: {}
volumeMounts:
- mountPath: /var/lib/postgresql/data
Expand Down
1 change: 1 addition & 0 deletions charts/mint/templates/hasura.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ spec:
imagePullPolicy: {{ .image.pullPolicy }}
{{- end }}
{{- end }}

resources: {}
volumeMounts:
- mountPath: /var/lib/postgresql/data
Expand Down
4 changes: 4 additions & 0 deletions charts/mint/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ components:
tls: []
data_catalog_db:
image:
repository: mintproject/data-catalog-db
tag: 8a6af95cae183320d596dc5219f2f76d1f234749
pullPolicy: IfNotPresent
arm_image:
repository: mintproject/data-catalog-db
tag: 0e6b32b73228ef268065694ddf0aec47d28bf58e
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 72dfc8a

Please sign in to comment.