diff --git a/charts/ledger/Chart.yaml b/charts/ledger/Chart.yaml index 800dfb5..0d62ad9 100644 --- a/charts/ledger/Chart.yaml +++ b/charts/ledger/Chart.yaml @@ -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 diff --git a/charts/ledger/templates/statefulset.yaml b/charts/ledger/templates/statefulset.yaml index 801b8ca..8f45545 100644 --- a/charts/ledger/templates/statefulset.yaml +++ b/charts/ledger/templates/statefulset.yaml @@ -30,6 +30,10 @@ spec: - -R - "777" - /data + {{- with .Values.resources }} + resources: + {{- toYaml . | nindent 10 }} + {{- end }} volumeMounts: - name: "{{ template "ledger.fullname" . }}-data" mountPath: /data @@ -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