Skip to content

Commit

Permalink
fix: backup templates (#80)
Browse files Browse the repository at this point in the history
* add: resources from values

* fix: bump

* update Helm documentation

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mosoriob and github-actions[bot] authored Oct 8, 2024
1 parent b722d4c commit 90ba83a
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 108 deletions.
2 changes: 1 addition & 1 deletion charts/mint/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.4.3-alpha.1
version: 3.4.3-alpha.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
2 changes: 1 addition & 1 deletion charts/mint/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MINT

![Version: 3.4.3-alpha.1](https://img.shields.io/badge/Version-3.4.3--alpha.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.3](https://img.shields.io/badge/AppVersion-1.16.3-informational?style=flat-square)
![Version: 3.4.3-alpha.2](https://img.shields.io/badge/Version-3.4.3--alpha.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.3](https://img.shields.io/badge/AppVersion-1.16.3-informational?style=flat-square)

A Helm chart for MINT

Expand Down
2 changes: 1 addition & 1 deletion charts/mint/templates/datacatalog-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
image: tiredofit/db-backup
imagePullPolicy: IfNotPresent
resources:
{{- toYaml .resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: BACKUP_LOCATION
value: minio
Expand Down
4 changes: 3 additions & 1 deletion charts/mint/templates/hasura-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ spec:
- name: db-backup
image: tiredofit/db-backup
imagePullPolicy: IfNotPresent
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: BACKUP_LOCATION
value: minio
Expand All @@ -38,7 +40,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ include "mint.prefix" . }}-hasura-secrets
key: username
key: username
- name: DB_PASS
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion charts/mint/templates/mic-api-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
image: tiredofit/db-backup
imagePullPolicy: IfNotPresent
resources:
{{- toYaml .resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: BACKUP_LOCATION
value: minio
Expand Down
2 changes: 1 addition & 1 deletion charts/mint/templates/model-catalog-endpoint-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: db-backup
image: minio/mc
resources:
{{- toYaml .resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 12 }}
env:
- name: S3_KEY_ID
valueFrom:
Expand Down
Loading

0 comments on commit 90ba83a

Please sign in to comment.