mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
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:
committed by
Aaron Schlesinger
parent
a5eba1812b
commit
7fa1e00775
@@ -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 }}
|
||||
|
||||
@@ -114,3 +114,11 @@ nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 64Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 64Mi
|
||||
|
||||
Reference in New Issue
Block a user