Skip to content

Commit 1a786e9

Browse files
author
Mikhail Pavlovich Sidorenko
committed
Add support resources in values.yaml
1 parent 676e6a0 commit 1a786e9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

charts/cluster-secret/templates/deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ spec:
5151
path: /healthz
5252
port: 8080
5353
periodSeconds: 120
54-
resources: {}
54+
resources:
55+
{{ toYaml .Values.resources | indent 10 }}
5556
serviceAccountName: {{ include "cluster-secret.fullname" . }}-account
5657
{{- with .Values.nodeSelector }}
5758
nodeSelector:

charts/cluster-secret/values.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ affinity: {}
2323

2424
# Additional Pod annotations
2525
podAnnotations: {}
26+
27+
resources:
28+
limits:
29+
cpu: 40m
30+
memory: 134Mi
31+
requests:
32+
cpu: 40m
33+
memory: 134Mi

0 commit comments

Comments
 (0)