Skip to content

Conversation

@FxKu
Copy link
Member

@FxKu FxKu commented Dec 17, 2020

  • move to Go 1.15
  • update Go modules
  • add context field for Api calls

go mod vendor currently fails for me with:

GO111MODULE=on go mod tidy  
go: finding module for package k8s.io/api/auditregistration/v1alpha1
go: finding module for package github.com/googleapis/gnostic/OpenAPIv2
github.com/zalando/postgres-operator/kubectl-pg/cmd imports
	k8s.io/client-go/kubernetes imports
	k8s.io/client-go/discovery imports
	github.com/googleapis/gnostic/OpenAPIv2: module github.com/googleapis/gnostic@latest found (v0.5.3), but does not contain package github.com/googleapis/gnostic/OpenAPIv2
github.com/zalando/postgres-operator/kubectl-pg/cmd imports
	k8s.io/client-go/kubernetes imports
	k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1 imports
	k8s.io/api/auditregistration/v1alpha1: module k8s.io/api@latest found (v0.20.0), but does not contain package k8s.io/api/auditregistration/v1alpha1

Edit: Seems the v1.6.0 operator release was necessary to fix this.

@FxKu FxKu added this to the 1.7 milestone Dec 17, 2020
@sdudoladov
Copy link
Member

👍

1 similar comment
@FxKu
Copy link
Member Author

FxKu commented Feb 15, 2021

👍

@FxKu FxKu merged commit 837f845 into master Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants