Skip to content

Commit

Permalink
osd-cluster-ready: Remove MAX_CLUSTER_AGE_MINUTES
Browse files Browse the repository at this point in the history
This was missed in #760 when we bumped osd-cluster-ready to include
openshift/osd-cluster-ready#7, which removed
max cluster age logic.

OSD-6646
  • Loading branch information
2uasimojo committed Mar 19, 2021
1 parent 02178fa commit b14c033
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 @@ -5193,10 +5193,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 @@ -5193,10 +5193,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 @@ -5193,10 +5193,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 b14c033

Please sign in to comment.