chart: allow setting deployment resource requests/limits (#1246)

* chart: allow setting deployment resource requests/limits

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>

* docs: add resources section to Helm chart docs

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>

* chart: bump chart version

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>
This commit is contained in:
Geoff Baskwill
2019-07-03 16:41:49 -04:00
committed by Aaron Schlesinger
parent a5eba1812b
commit 7fa1e00775
4 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: athens-proxy
version: 0.2.13
version: 0.2.14
appVersion: 0.4.0
description: The proxy server for Go modules
icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png
@@ -170,6 +170,10 @@ spec:
- name: ssh-keys
mountPath: /ssh-keys
{{- end }}
{{- with .Values.resources }}
resources:
{{ toYaml . | indent 10 }}
{{- end }}
volumes:
- name: storage-volume
{{- if .Values.storage.disk.persistence.enabled }}
+8
View File
@@ -114,3 +114,11 @@ nodeSelector: {}
tolerations: []
affinity: {}
resources: {}
# limits:
# cpu: 100m
# memory: 64Mi
# requests:
# cpu: 100m
# memory: 64Mi