Skip to content

Commit

Permalink
[Feat] Enabled modifying PVC setup with values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanchenli committed Feb 16, 2025
1 parent 3669dfb commit 85ac415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/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: 0.0.5
version: 0.0.6

maintainers:
- name: apostac
2 changes: 1 addition & 1 deletion helm/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
{{- end }}
resources:
requests:
storage: {{ $modelSpec.pvcStorage | default "40Gi" }} # Default to 40Gi if not set
storage: {{ $modelSpec.pvcStorage | default "10Gi" }} # Default to 10Gi if not set
{{- if $modelSpec.storageClass }}
storageClassName: "{{ $modelSpec.storageClass }}" # Allow user-defined storageClass
{{- end }}
Expand Down

0 comments on commit 85ac415

Please sign in to comment.