feat(keystone): Adds optional settings backoffLimit and activeDeadlineSeconds to the keystone bootstrap job.

Change-Id: If601932db2b40e0b68a289c15ef2dabf811c6d50
Signed-off-by: Nicholas Kuechler <nkuechler@gmail.com>
This commit is contained in:
Nicholas Kuechler
2025-12-03 15:56:50 -06:00
parent 85226c648c
commit ab09255170
2 changed files with 13 additions and 0 deletions

View File

@@ -25,5 +25,12 @@ helm.sh/hook-weight: "5"
{{- if .Values.pod.tolerations.keystone.enabled -}}
{{- $_ := set $bootstrapJob "tolerationsEnabled" true -}}
{{- end -}}
{{- if and .Values.jobs.bootstrap .Values.jobs.bootstrap.backoffLimit }}
{{- $_ := set $bootstrapJob "backoffLimit" .Values.jobs.bootstrap.backoffLimit -}}
{{- end }}
{{- if and .Values.jobs.bootstrap .Values.jobs.bootstrap.activeDeadlineSeconds }}
{{- $_ := set $bootstrapJob "activeDeadlineSeconds" .Values.jobs.bootstrap.activeDeadlineSeconds -}}
{{- end }}
{{ $bootstrapJob | include "helm-toolkit.manifests.job_bootstrap" }}
{{- end }}

View File

@@ -0,0 +1,6 @@
---
keystone:
- |
Adds optional settings backoffLimit and activeDeadlineSeconds
to the keystone bootstrap job.
...