Skip to content

Commit

Permalink
feat(helm): add customizable garbage collection deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
jpJuni0r authored and paullaffitte committed Sep 26, 2024
1 parent dd32d81 commit 1129d0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
jobTemplate:
spec:
backoffLimit: 3
activeDeadlineSeconds: 600
activeDeadlineSeconds: {{ .Values.registry.garbageCollection.activeDeadlineSeconds }}
template:
spec:
serviceAccountName: {{ include "kube-image-keeper.fullname" . }}-registry-restart
Expand Down
2 changes: 2 additions & 0 deletions helm/kube-image-keeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ registry:
deleteUntagged: false
# -- Specify a nodeSelector for the garbage collector pod
nodeSelector: {}
# -- Deadline for the whole job
activeDeadlineSeconds: 600
# -- Resources settings for the garbage collector pod
resources:
requests:
Expand Down

0 comments on commit 1129d0d

Please sign in to comment.