Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: allow custom name pvc ensemble manager #63

Merged
merged 5 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3.3
version: 3.3.4
# 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
4 changes: 3 additions & 1 deletion charts/mint/templates/ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
name: {{ include "mint.prefix" . }}-ensemble-manager-config-map
- name: storage
persistentVolumeClaim:
claimName: {{ include "mint.prefix" . }}-ensemble-manager
claimName: {{ include "mint.prefix" . }}-{{ .Values.components.ensemble_manager.persistence.name }}
initContainers:
- name: volume-mount-hack
image: busybox
Expand All @@ -69,6 +69,8 @@ spec:
env:
- name: TMPDIR
value: /home/node/app/data/temp
- name: ENSEMBLE_MANAGER_PVC
value: {{ include "mint.prefix" . }}-{{ .Values.components.ensemble_manager.persistence.name }}
- name: HASURA_GRAPHQL_ADMIN_SECRET
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion charts/mint/templates/pvc-ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "mint.prefix" . }}-ensemble-manager
name: {{ include "mint.prefix" . }}-{{ .Values.components.ensemble_manager.persistence.name }}
namespace: {{ .Release.Namespace | quote }}
{{- if or .Values.components.ensemble_manager.persistence.annotations .Values.commonAnnotations }}
annotations:
Expand Down
1 change: 1 addition & 0 deletions charts/mint/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ components:
pathType: ImplementationSpecific
tls: []
persistence:
name: ensemble-manager
enabled: true
storageClass: ""
size: 10Gi
Expand Down
Loading
Loading