Skip to content

Commit

Permalink
fix: mic pvc (#78)
Browse files Browse the repository at this point in the history
* docs: remove unrequired js

* 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 8ddff38 commit b722d4c
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 105 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.1
version: 3.4.3-alpha.1
# 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.0](https://img.shields.io/badge/Version-3.4.0-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.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)

A Helm chart for MINT

Expand Down
6 changes: 4 additions & 2 deletions charts/mint/templates/pvc-mic.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if and .Values.components.mic_api.enabled and .Values.components.mic_api_db.persistence.enabled (not .Values.components.mic_api_db.persistence.existingClaim) }}
{{- if .Values.components.mic_api.enabled }}
{{- if and .Values.components.mic_api_db.persistence.enabled (not .Values.components.mic_api_db.persistence.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
Expand All @@ -20,7 +21,7 @@ spec:
- {{ . | quote }}
{{- end }}
{{- else }}
- {{ .Values.components.mic_api_db.persistence.accessMode | quote }}
- {{ .Values.components.mic_api_db.persistence.accessModes | quote }}
{{- end }}
resources:
requests:
Expand All @@ -30,3 +31,4 @@ spec:
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.components.mic_api_db.persistence.dataSource "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
Loading

0 comments on commit b722d4c

Please sign in to comment.