Skip to content

Commit

Permalink
feature(k8s.dataverse): Allow deployment without specifying resources
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-darms committed Dec 13, 2023
1 parent 095b257 commit ad76e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/dataverse/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.2.5
version: 0.2.6

# 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
Expand Down
2 changes: 2 additions & 0 deletions k8s/dataverse/templates/dataverse-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ spec:
- containerPort: 4848
- containerPort: 9009
- containerPort: 8686
{{- if .Values.dataverse.resources }}
resources:
{{ toYaml .Values.dataverse.resources | indent 12 }}
{{- end }}
volumeMounts:
{{/* https://guides.dataverse.org/en/latest/container/base-image.html*/}}
- mountPath: /dv
Expand Down

0 comments on commit ad76e0b

Please sign in to comment.