Skip to content

Commit 8a3beca

Browse files
committed
bindata: deploy: Set progressDeadlineSeconds to 900
This only makes the latest library-go update compatible with the current behaviour. library-go now uses deployment controller deadline exceeded to check for progress timeout, not a hardcoded value, which was set to 15 minutes in the past, hence 900 seconds.
1 parent 5aa3b3c commit 8a3beca

9 files changed

Lines changed: 24 additions & 15 deletions

File tree

bindata/oauth-apiserver/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
matchLabels:
2323
app: openshift-oauth-apiserver
2424
apiserver: "true"
25+
progressDeadlineSeconds: 900
2526
template:
2627
metadata:
2728
name: openshift-oauth-apiserver

bindata/oauth-openshift/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
selector:
1616
matchLabels:
1717
app: oauth-openshift
18+
progressDeadlineSeconds: 900
1819
template:
1920
metadata:
2021
namespace: openshift-authentication

pkg/operator/workload/testdata/sync_ds_scenario_1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Deployment
33
metadata:
44
annotations:
55
openshiftapiservers.operator.openshift.io/operator-pull-spec: ""
6-
operator.openshift.io/spec-hash: "92b16c3a4fed15e36762fdaea811c16499cd59d97aa342cd6f93dfe74b977a57"
6+
operator.openshift.io/spec-hash: "7a9fc412104ef9bccb83ca436fc0564c6103b603441b8ec5677d3fb86c0999a4"
77
creationTimestamp: ~
88
labels:
99
apiserver: "true"
@@ -22,6 +22,7 @@ spec:
2222
rollingUpdate:
2323
maxUnavailable: 1
2424
maxSurge: 0
25+
progressDeadlineSeconds: 900
2526
template:
2627
metadata:
2728
creationTimestamp: ~

pkg/operator/workload/testdata/sync_ds_scenario_2.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Deployment
33
metadata:
44
annotations:
55
openshiftapiservers.operator.openshift.io/operator-pull-spec: ""
6-
operator.openshift.io/spec-hash: "eaa7741231940e5279e2a2e6394a9c6516fcf3ba2573136dcf0319776f21f47d"
6+
operator.openshift.io/spec-hash: "129c97247fdc00a33eb2bafe37f39fbc0a2bd29f8efffc21a77f359fcc202d60"
77
creationTimestamp: ~
88
labels:
99
apiserver: "true"
@@ -22,6 +22,7 @@ spec:
2222
rollingUpdate:
2323
maxUnavailable: 1
2424
maxSurge: 0
25+
progressDeadlineSeconds: 900
2526
template:
2627
metadata:
2728
creationTimestamp: ~

pkg/operator/workload/testdata/sync_ds_scenario_3.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Deployment
33
metadata:
44
annotations:
55
openshiftapiservers.operator.openshift.io/operator-pull-spec: ""
6-
operator.openshift.io/spec-hash: "187e7046690e53bab0761a419280e536304f3767614ab909e8e430d5264ac6ba"
6+
operator.openshift.io/spec-hash: "1744ae66ec6576d4137244fe0c6528d0cd7cc20cf50c9faec2aa73cbf8af5b97"
77
creationTimestamp: ~
88
labels:
99
apiserver: "true"
@@ -22,6 +22,7 @@ spec:
2222
rollingUpdate:
2323
maxUnavailable: 1
2424
maxSurge: 0
25+
progressDeadlineSeconds: 900
2526
template:
2627
metadata:
2728
creationTimestamp: ~

test-data/apply-configuration/overall/oauth-apiserver-creation-minimal/expected-output/Management/ApplyStatus/cluster-scoped-resources/operator.openshift.io/authentications/c5b3-body-cluster.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ metadata:
55
status:
66
conditions:
77
- lastTransitionTime: "2024-10-14T22:38:20Z"
8-
message: no apiserver.openshift-oauth-apiserver pods available on any node.
8+
message: no apiserver.openshift-oauth-apiserver pods available on any node
99
reason: NoPod
1010
status: "False"
1111
type: APIServerDeploymentAvailable
12-
- lastTransitionTime: "2025-09-09T00:08:37Z"
13-
reason: AsExpected
14-
status: "False"
12+
- lastTransitionTime: "2024-10-14T22:38:20Z"
13+
message: no apiserver.openshift-oauth-apiserver pods available on any node
14+
reason: Unavailable
15+
status: "True"
1516
type: APIServerDeploymentDegraded
1617
- lastTransitionTime: "2024-10-14T22:38:20Z"
1718
message: 'deployment/apiserver.openshift-oauth-apiserver: 0/1 pods have been updated
18-
to the latest generation and 0/1 pods are available'
19+
to the latest revision and 0/1 pods are available'
1920
reason: PodsUpdating
2021
status: "True"
2122
type: APIServerDeploymentProgressing

test-data/apply-configuration/overall/oauth-apiserver-creation-minimal/expected-output/Management/Create/namespaces/openshift-oauth-apiserver/apps/deployments/7350-body-apiserver.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ kind: Deployment
33
metadata:
44
annotations:
55
openshiftapiservers.operator.openshift.io/operator-pull-spec: ""
6-
operator.openshift.io/spec-hash: b8ea01ab9a9bcf14e72373c020dfae9a968e1b8e5cd4b467a3fc6ae9fdbacff1
6+
operator.openshift.io/spec-hash: eb0817f2a3f0fed0fee4b6bed759e7c7ef24752833a3d84b8141a02a0d333ffd
77
labels:
88
apiserver: "true"
99
app: openshift-oauth-apiserver
1010
revision: "1"
1111
name: apiserver
1212
namespace: openshift-oauth-apiserver
1313
spec:
14+
progressDeadlineSeconds: 900
1415
replicas: 0
1516
selector:
1617
matchLabels:

test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/ApplyStatus/cluster-scoped-resources/operator.openshift.io/authentications/5749-body-cluster.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ metadata:
55
status:
66
conditions:
77
- lastTransitionTime: "2025-08-07T22:38:20Z"
8-
message: no oauth-openshift.openshift-authentication pods available on any node.
8+
message: no oauth-openshift.openshift-authentication pods available on any node
99
reason: NoPod
1010
status: "False"
1111
type: OAuthServerDeploymentAvailable
12-
- lastTransitionTime: "2025-08-01T18:45:36Z"
13-
reason: AsExpected
14-
status: "False"
12+
- lastTransitionTime: "2025-08-07T22:38:20Z"
13+
message: no oauth-openshift.openshift-authentication pods available on any node
14+
reason: Unavailable
15+
status: "True"
1516
type: OAuthServerDeploymentDegraded
1617
- lastTransitionTime: "2025-08-07T22:38:20Z"
1718
message: 'deployment/oauth-openshift.openshift-authentication: 0/1 pods have been
18-
updated to the latest generation and 0/1 pods are available'
19+
updated to the latest revision and 0/1 pods are available'
1920
reason: PodsUpdating
2021
status: "True"
2122
type: OAuthServerDeploymentProgressing

test-data/apply-configuration/overall/oauth-server-creation-minimal/expected-output/Management/Create/namespaces/openshift-authentication/apps/deployments/a3d6-body-oauth-openshift.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ kind: Deployment
33
metadata:
44
annotations:
55
operator.openshift.io/rvs-hash: f4V-TOKKLhC7zxXahsybviIQ6XFZf_Ua2SFe2jckw9gL4UuCiEXYmFPtjUvFGC13xB72tEYqR0N1somiZq0-JQ
6-
operator.openshift.io/spec-hash: 0a0b624d81acaa84b703ae631aa8552ec31f538924445ffe696cf9a6c39d7dac
6+
operator.openshift.io/spec-hash: 5097c5990047d75248d34d13299d208892a1cef4b827575b927549c549562778
77
labels:
88
app: oauth-openshift
99
name: oauth-openshift
1010
namespace: openshift-authentication
1111
spec:
12+
progressDeadlineSeconds: 900
1213
replicas: 3
1314
selector:
1415
matchLabels:

0 commit comments

Comments
 (0)