Skip to content

Commit 00ab14a

Browse files
authored
fix(helm): add resource block (#33)
1 parent 9bf0555 commit 00ab14a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

helm/templates/service.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ spec:
9494
secretKeyRef:
9595
name: {{ .Values.artifactory.secretName }}
9696
key: token
97+
resources: {{- toYaml .Values.resources | nindent 12 }}
9798
{{- if .Values.volumeMounts }}
9899
volumeMounts: {{- toYaml .Values.volumeMounts | nindent 12 }}
99100
{{- end }}

helm/values.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,13 @@ serviceAccount:
6969

7070
# nodeSelector -- Node labels for constraining the coder-xray pod to specific nodes.
7171
nodeSelector: {}
72+
73+
# -- Resource limits and requests for the coder-xray pod
74+
resources: {}
75+
# limits:
76+
# cpu: 500m
77+
# memory: 512Mi
78+
# requests:
79+
# cpu: 250m
80+
# memory: 256Mi
81+

0 commit comments

Comments
 (0)