Skip to content

Commit

Permalink
Update module sigs.k8s.io/controller-runtime to v0.10.3 (elastic#5038)
Browse files Browse the repository at this point in the history
And fix broken unit tests:
- elasticsearch/driver.TestUpgradePodsDeletion_WithNodeTypeMutations
- elasticsearch/driver.TestUpgradePodsDeletion_Delete
- enterprisesearch.TestReconcileEnterpriseSearch_doReconcile_AssociationDelaysVersionUpgrade
- license/trial.TestReconcileTrials_Reconcile/valid_trial_secret_inits_trial

With:
- Set resource version in newTestPod
- Do not reuse the same variable to get trial/license secrets
- Always SetAssociationConf before doReconcile

Because of:
- Client: Ensure no stale data remains in target object kubernetes-sigs/controller-runtime#1640
- Fakeclient: Reject Delete with mismatched ResourceVersion kubernetes-sigs/controller-runtime#1582
  • Loading branch information
renovate[bot] authored and fantapsody committed Jan 3, 2023
1 parent 658c722 commit fa088ec
Show file tree
Hide file tree
Showing 16 changed files with 3,766 additions and 2,262 deletions.
103 changes: 67 additions & 36 deletions NOTICE.txt
Expand Up @@ -3145,11 +3145,11 @@ limitations under the License.

--------------------------------------------------------------------------------
Module : k8s.io/api
Version : v0.21.3
Time : 2021-07-16T02:34:29Z
Version : v0.22.2
Time : 2021-09-17T11:53:35Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/api@v0.21.3/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/api@v0.22.2/LICENSE:


Apache License
Expand Down Expand Up @@ -3357,11 +3357,11 @@ Contents of probable licence file $GOMODCACHE/k8s.io/api@v0.21.3/LICENSE:

--------------------------------------------------------------------------------
Module : k8s.io/apimachinery
Version : v0.21.3
Time : 2021-07-12T06:11:53Z
Version : v0.22.2
Time : 2021-09-06T15:38:29Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/apimachinery@v0.21.3/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/apimachinery@v0.22.2/LICENSE:


Apache License
Expand Down Expand Up @@ -3569,11 +3569,11 @@ Contents of probable licence file $GOMODCACHE/k8s.io/apimachinery@v0.21.3/LICENS

--------------------------------------------------------------------------------
Module : k8s.io/client-go
Version : v0.21.3
Time : 2021-07-16T02:43:08Z
Version : v0.22.2
Time : 2021-09-17T12:08:50Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/client-go@v0.21.3/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/client-go@v0.22.2/LICENSE:


Apache License
Expand Down Expand Up @@ -3982,11 +3982,11 @@ third-party archives.

--------------------------------------------------------------------------------
Module : k8s.io/utils
Version : v0.0.0-20210722164352-7f3ee0f31471
Time : 2021-07-22T16:43:52Z
Version : v0.0.0-20210819203725-bdf08cb9a70a
Time : 2021-08-19T20:37:25Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/utils@v0.0.0-20210722164352-7f3ee0f31471/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/utils@v0.0.0-20210819203725-bdf08cb9a70a/LICENSE:


Apache License
Expand Down Expand Up @@ -4194,11 +4194,11 @@ Contents of probable licence file $GOMODCACHE/k8s.io/utils@v0.0.0-20210722164352

--------------------------------------------------------------------------------
Module : sigs.k8s.io/controller-runtime
Version : v0.9.6
Time : 2021-08-10T18:28:39Z
Version : v0.10.3
Time : 2021-11-10T15:01:27Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/sigs.k8s.io/controller-runtime@v0.9.6/LICENSE:
Contents of probable licence file $GOMODCACHE/sigs.k8s.io/controller-runtime@v0.10.3/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -6425,11 +6425,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Module : github.com/golang/groupcache
Version : v0.0.0-20200121045136-8c9f03a8e57e
Time : 2020-01-21T04:51:36Z
Version : v0.0.0-20210331224755-41bb18bfe9da
Time : 2021-03-31T22:47:55Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/github.com/golang/groupcache@v0.0.0-20200121045136-8c9f03a8e57e/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -13814,6 +13814,37 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


--------------------------------------------------------------------------------
Module : github.com/josharian/intern
Version : v1.0.0
Time : 2019-12-14T22:12:22Z
Licence : MIT

Contents of probable licence file $GOMODCACHE/github.com/josharian/intern@v1.0.0/license.md:

MIT License

Copyright (c) 2019 Josh Bleecher Snyder

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--------------------------------------------------------------------------------
Module : github.com/json-iterator/go
Version : v1.1.11
Expand Down Expand Up @@ -13905,11 +13936,11 @@ THE SOFTWARE.

--------------------------------------------------------------------------------
Module : github.com/mailru/easyjson
Version : v0.7.0
Time : 2019-09-10T11:06:03Z
Version : v0.7.6
Time : 2020-08-12T11:42:29Z
Licence : MIT

Contents of probable licence file $GOMODCACHE/github.com/mailru/easyjson@v0.7.0/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/mailru/easyjson@v0.7.6/LICENSE:

Copyright (c) 2016 Mail.Ru Group

Expand Down Expand Up @@ -15273,11 +15304,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
Module : github.com/onsi/gomega
Version : v1.14.0
Time : 2021-07-07T14:32:41Z
Version : v1.15.0
Time : 2021-08-05T19:36:13Z
Licence : MIT

Contents of probable licence file $GOMODCACHE/github.com/onsi/gomega@v1.14.0/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/onsi/gomega@v1.15.0/LICENSE:

Copyright (c) 2013-2014 Onsi Fakhouri

Expand Down Expand Up @@ -16978,11 +17009,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Module : golang.org/x/net
Version : v0.0.0-20210503060351-7fd8e65b6420
Time : 2021-05-03T06:03:51Z
Version : v0.0.0-20210520170846-37e1c6afe023
Time : 2021-05-20T17:08:46Z
Licence : BSD-3-Clause

Contents of probable licence file $GOMODCACHE/golang.org/x/net@v0.0.0-20210503060351-7fd8e65b6420/LICENSE:
Contents of probable licence file $GOMODCACHE/golang.org/x/net@v0.0.0-20210520170846-37e1c6afe023/LICENSE:

Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -18784,11 +18815,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Module : k8s.io/apiextensions-apiserver
Version : v0.21.3
Time : 2021-07-16T03:15:41Z
Version : v0.22.2
Time : 2021-09-17T12:56:44Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/apiextensions-apiserver@v0.21.3/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/apiextensions-apiserver@v0.22.2/LICENSE:


Apache License
Expand Down Expand Up @@ -18996,11 +19027,11 @@ Contents of probable licence file $GOMODCACHE/k8s.io/apiextensions-apiserver@v0.

--------------------------------------------------------------------------------
Module : k8s.io/component-base
Version : v0.21.3
Time : 2021-07-16T02:46:29Z
Version : v0.22.2
Time : 2021-09-17T12:13:20Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/component-base@v0.21.3/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/component-base@v0.22.2/LICENSE:


Apache License
Expand Down Expand Up @@ -19208,11 +19239,11 @@ Contents of probable licence file $GOMODCACHE/k8s.io/component-base@v0.21.3/LICE

--------------------------------------------------------------------------------
Module : k8s.io/kube-openapi
Version : v0.0.0-20210305001622-591a79e4bda7
Time : 2021-03-05T00:16:22Z
Version : v0.0.0-20210421082810-95288971da7e
Time : 2021-04-21T08:28:10Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/k8s.io/kube-openapi@v0.0.0-20210305001622-591a79e4bda7/LICENSE:
Contents of probable licence file $GOMODCACHE/k8s.io/kube-openapi@v0.0.0-20210421082810-95288971da7e/LICENSE:


Apache License
Expand Down

0 comments on commit fa088ec

Please sign in to comment.