Skip to content

Commit

Permalink
Merge pull request #765 from 2uasimojo/osd-cluster-ready
Browse files Browse the repository at this point in the history
osd-cluster-ready: Remove MAX_CLUSTER_AGE_MINUTES
  • Loading branch information
openshift-merge-robot authored Apr 5, 2021
2 parents f607531 + b14c033 commit 1bcc515
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
15 changes: 4 additions & 11 deletions deploy/osd-cluster-ready/60-osd-ready.Job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,16 @@ metadata:
name: osd-cluster-ready
namespace: openshift-monitoring
spec:
# NOTE: We're making this ridiculously high to ensure that
# we exceed MAX_CLUSTER_AGE_MINUTES even in the fastest
# case. We rely on the logic in the job to exit cleanly when
# that max age is reached.
# NOTE: We're making this ridiculously high to ensure that the
# actual code gets a chance to run to completion. However, consumers
# should implement a sensible timeout rather than waiting forever.
backoffLimit: 500
template:
metadata:
name: osd-cluster-ready
spec:
containers:
# TODO: Remove this override once
# https://bugzilla.redhat.com/show_bug.cgi?id=1921413
# is resolved
- env:
- name: MAX_CLUSTER_AGE_MINUTES
value: "240"
name: osd-cluster-ready
- name: osd-cluster-ready
image: quay.io/openshift-sre/osd-cluster-ready:v0.1.45-c9f1f45
command: ["/root/main"]
restartPolicy: OnFailure
Expand Down
5 changes: 1 addition & 4 deletions hack/00-osd-managed-cluster-config-integration.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5134,10 +5134,7 @@ objects:
name: osd-cluster-ready
spec:
containers:
- env:
- name: MAX_CLUSTER_AGE_MINUTES
value: '240'
name: osd-cluster-ready
- name: osd-cluster-ready
image: quay.io/openshift-sre/osd-cluster-ready:v0.1.45-c9f1f45
command:
- /root/main
Expand Down
5 changes: 1 addition & 4 deletions hack/00-osd-managed-cluster-config-production.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5134,10 +5134,7 @@ objects:
name: osd-cluster-ready
spec:
containers:
- env:
- name: MAX_CLUSTER_AGE_MINUTES
value: '240'
name: osd-cluster-ready
- name: osd-cluster-ready
image: quay.io/openshift-sre/osd-cluster-ready:v0.1.45-c9f1f45
command:
- /root/main
Expand Down
5 changes: 1 addition & 4 deletions hack/00-osd-managed-cluster-config-stage.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5134,10 +5134,7 @@ objects:
name: osd-cluster-ready
spec:
containers:
- env:
- name: MAX_CLUSTER_AGE_MINUTES
value: '240'
name: osd-cluster-ready
- name: osd-cluster-ready
image: quay.io/openshift-sre/osd-cluster-ready:v0.1.45-c9f1f45
command:
- /root/main
Expand Down

0 comments on commit 1bcc515

Please sign in to comment.