Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Update kubernetes go client (@ 0.22.0), other go mods #3537

Closed
wants to merge 10 commits into from

Commits on Aug 17, 2021

  1. Go module updates (renovate-bot)

    * Update github.com/shurcooL/vfsgen commit hash to 0d455de
    
    * Update golang.org/x/oauth2 commit hash to a41e5a7
    * Update golang.org/x/sys commit hash to 0f9fa26
    * Update golang.org/x/time commit hash to 1f47c86
    
    * Update module github.com/Masterminds/semver/v3 to v3.1.1
    * Update module github.com/gorilla/mux to v1.8.0
    * Update module github.com/instrumenta/kubeval to v0.16.1
    * Update module github.com/aws/aws-sdk-go to v1.40.7
    * Update module github.com/pkg/term to v1
    * Update module github.com/prometheus/client_golang to v1.11.0
    * Update module k8s.io/apiextensions-apiserver to v0.21.3
    * Update module github.com/google/go-github/v28 to v37
    * Update module github.com/whilp/git-urls to v1
    * Update module k8s.io/klog to v2
    * Update module github.com/cheggaaa/pb/v3 to v3.0.8
    * Update module github.com/evanphx/json-patch to v4.11.0
    * Update module github.com/go-kit/kit to v0.11.0
    * Update module github.com/spf13/cobra to v1.2.1
    * Update module github.com/fluxcd/helm-operator to v1.4.0
    * Update module github.com/imdario/mergo to v0.3.12
    * Update module github.com/google/go-containerregistry to v0.5.1
    
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Signed-off-by: Kingdon Barrett <yebyen@gmail.com>
    renovate-bot authored and Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    2f9084f View commit details
    Browse the repository at this point in the history
  2. go mod tidy

    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Signed-off-by: Kingdon Barrett <yebyen@gmail.com>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    b052afc View commit details
    Browse the repository at this point in the history
  3. Update kubernetes-client pin from 1.17.x to 1.21.x

    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    feaedf3 View commit details
    Browse the repository at this point in the history
  4. go mod updates for kubernetes client

    * go mod download (go.sum)
    * go mod updates for helm-operator package
    * go mod download (helm-operator)
    * remove github.com/Azure/go-autorest pin (it was failing go mod tidy)
    
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    5700253 View commit details
    Browse the repository at this point in the history
  5. Resolving compilation errors for k8s 1.21.x client

    * remove "replace" statement for go-autorest
    
    With SOPS upgraded, "go mod tidy" now fails until this is removed.
    
    * Resolve client-go issue from upgrade to 1.20
    
    kubernetes/client-go#914 (comment)
    
    * register deployments type
    
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    3687686 View commit details
    Browse the repository at this point in the history
  6. update k8s-go client pins now - 0.22.0 is released

    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    bb3ee75 View commit details
    Browse the repository at this point in the history
  7. Upgrade GitHub Actions to Go 1.16.x

    Tests failed because:
    
    Error: ../../../go/pkg/mod/k8s.io/client-go@v0.22.0/plugin/pkg/client/auth/exec/metrics.go:21:2: package io/fs is not in GOROOT (/opt/hostedtoolcache/go/1.15.15/x64/src/io/fs)
    
    This PR updated the toolchain to Go 1.16.x but CI was not yet upgraded. Adding a commit for that, CI should pass after.
    
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    22dcce7 View commit details
    Browse the repository at this point in the history
  8. Include k8s.io/apiextensions-apiserver

    This was missed in bb3ee75
    
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    2031fbd View commit details
    Browse the repository at this point in the history
  9. Update golang.org/x/sys commit hash to 7d9622a

    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    renovate-bot authored and Kingdon Barrett committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    9567a85 View commit details
    Browse the repository at this point in the history
  10. Update cmd/fluxctl/portforward.go

    In context where ctx context is already available, use it
    
    Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
    Signed-off-by: Kingdon Barrett <kingdon@weave.works>
    Kingdon Barrett and hiddeco committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    57b4141 View commit details
    Browse the repository at this point in the history