Skip to content

Commit

Permalink
fix: dynamically set cleanup wait time (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-ibra authored Dec 1, 2023
1 parent a3fc0dc commit 13d0399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/validator/templates/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
command: ["/cleanup"]
env:
- name: CLEANUP_DELAY_SECONDS
value: "10"
value: {{ mul 10 (max 1 (len (required ".Values.plugins is required!" .Values.plugins))) | quote }}
resources:
requests:
cpu: "10m"
Expand Down

0 comments on commit 13d0399

Please sign in to comment.