Skip to content

Commit

Permalink
Set resources
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Jun 20, 2020
1 parent 250bcf0 commit 352776a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/ledger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: ledger
description: A ledger for your CD pipeline
version: 0.1.9
version: 0.1.10
appVersion: 0.1.5
sources:
- https://github.com/stenic/helm-charts/tree/master/charts/ledger
8 changes: 8 additions & 0 deletions charts/ledger/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
- -R
- "777"
- /data
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- name: "{{ template "ledger.fullname" . }}-data"
mountPath: /data
Expand All @@ -49,6 +53,10 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- name: {{ include "ledger.fullname" . }}-data
mountPath: /data
Expand Down

0 comments on commit 352776a

Please sign in to comment.