Cherrypick #381 to 2.1.#446
Conversation
checkAndUpdateSnapshotClass must always return a snapshot, even though it fails somewhere in ctrl.SetDefaultSnapshotClass. Add unit tests for that.
|
/assign @xing-yang |
|
Hmm, I suspect these test failures are due to the v1 CRDs used on the test cluster. The k8s version would have to be pinned to 1.19 or other heroics done to get the v1beta1 CRDs required by this controller to be used. @xing-yang do you have any ideas? |
|
Can you reference PR #381 in the release note? |
|
We probably need to fix release-tools in release-2.1 to pass CI. See this PR: #437 |
Ok, I'll look into backporting that too. |
done |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattcary, xing-yang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind bug
I've tested this manually on a cluster to confirm it fixes the crashlooping, as described in #445.
Which issue(s) this PR fixes:
#445