You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove hardcoded wait time in scorecard cleanup, instead using the initTimeout configuration setting
* make linter happy by shortening a line
* update changelog, update scorecard docs, replace hard coded timeout value with config init-timeout value
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
- The prepare/converge/verify tasks now make use of the new `k8s``wait` option to simplify the deployment logic.
22
22
- Operator user setup and entrypoint scripts no longer insert dynamic runtime user entries into `/etc/passwd`. To use dynamic runtime users, use a container runtime that supports it (e.g. CRI-O). ([#2469](https://github.com/operator-framework/operator-sdk/pull/2469))
23
23
- Changed the scorecard basic test, `Writing into CRs has an effect`, to include the http.MethodPatch as part of its test criteria alongside http.MethodPut and http.MethodPost. ([#2509](https://github.com/operator-framework/operator-sdk/pull/2509))
24
+
- Changed the scorecard to use the init-timeout configuration setting as a wait time when performing cleanup instead of a hard-coded time. ([#2597](https://github.com/operator-framework/operator-sdk/pull/2597))
Copy file name to clipboardexpand all lines: doc/test-framework/scorecard.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ The `basic` and `olm` internal plugins have the same configuration fields:
125
125
| `olm-deployed` | bool | indicates that the CSV and relevant CRD's have been deployed onto the cluster by the [Operator Lifecycle Manager (OLM)][olm] |
126
126
| `kubeconfig` | string | path to kubeconfig. If both the global `kubeconfig` and this field are set, this field is used for the plugin |
127
127
| `namespace` | string | namespace to run the plugins in. If not set, the default specified by the kubeconfig is used |
128
-
| `init-timeout` | int | time in seconds until a timeout during initialization of the operator |
128
+
| `init-timeout` | int | time in seconds until a timeout during initialization or cleanup of the operator |
129
129
| `crds-dir` | string | path to directory containing CRDs that must be deployed to the cluster |
130
130
| `namespaced-manifest` | string | manifest file with all resources that run within a namespace. By default, the scorecard will combine `service_account.yaml`, `role.yaml`, `role_binding.yaml`, and `operator.yaml` from the `deploy` directory into a temporary manifest to use as the namespaced manifest |
131
131
| `global-manifest` | string | manifest containing required resources that run globally (not namespaced). By default, the scorecard will combine all CRDs in the `crds-dir` directory into a temporary manifest to use as the global manifest |
0 commit comments