Skip to content

Commit 5191a67

Browse files
fix(openstack): Lowers backoffLimit for openstack-helm bootstrap jobs to a reasonable limit
1 parent 79d4881 commit 5191a67

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

components/openstack/values.schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,18 @@
234234
},
235235
"additionalProperties": false
236236
},
237+
"jobs": {
238+
"type": "object",
239+
"description": "OpenStack Jobs settings",
240+
"properties": {
241+
"bootstrap": {
242+
"type": "object",
243+
"description": "Bootstrap job settings",
244+
"additionalProperties": true
245+
}
246+
},
247+
"additionalProperties": false
248+
},
237249
"keystoneServiceUsers": {
238250
"type": "object",
239251
"description": "OpenStack service users for OpenStack Helm charts",

components/openstack/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,11 @@ extraObjects: []
173173
# dataFrom:
174174
# - extract:
175175
# key: my-secret-id
176+
177+
# (nicholas.kuechler) The default openstack-helm backoffLimit is 1000 which can
178+
# be quite long if the ansible job fails and the pod is stuck in CrashLoopBackoff.
179+
# Changing this to a more reasonable limit for bootstrap jobs.
180+
# Reference: https://opendev.org/openstack/openstack-helm/src/branch/master/helm-toolkit/templates/manifests/_job-bootstrap.tpl#L38
181+
jobs:
182+
bootstrap:
183+
backoffLimit: 10

0 commit comments

Comments
 (0)