Skip to content

Commit e4253b0

Browse files
apply default resource limit to discovery job
1 parent bd94a2a commit e4253b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/logan/templates/discovery-cronjob.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
mountPath: {{ .Values.oci.path }}
3737
readOnly: true
3838
{{- end }}
39+
{{- if .Values.resources }}
40+
resources: {{- toYaml .Values.resources | nindent 14 }}
41+
{{- end }}
3942
command:
4043
{{- /* object discovery script */}}
4144
- bundle

0 commit comments

Comments
 (0)