-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Golang to 1.18 and k8s to 0.24.2 #329
Conversation
@@ -1,3 +1,4 @@ | |||
//go:build tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added as result of make lint
@@ -21,7 +21,7 @@ define go-get-tool | |||
cd $${TMP_DIR} ;\ | |||
go mod init tmp ;\ | |||
echo "Downloading ${2}" ;\ | |||
GOBIN=$(PROJECT_DIR)/bin go get ${2}@${3} ;\ | |||
GOBIN=$(PROJECT_DIR)/bin go install ${2}@${3} ;\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make target 'controller-gen' wasn't creating the new version controller-gen when the old one existed. Because with golang 1.17 installing executables with go get
is deprecated, changing this script to go install.
For this script to work as expected, local golang should be updated to 1.18 as well.
@@ -78,6 +78,7 @@ type NSTemplateSetSpaceRole struct { | |||
TemplateRef string `json:"templateRef"` | |||
|
|||
// Usernames the usernames to which the template applies | |||
// +listType=atomic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added to avoid the following in make generate
:
API rule violation: list_type_missing,github.com/codeready-toolchain/api/api/v1alpha1,NSTemplateSetSpaceRole,Usernames
/retest |
Description
This PR has changes for the following:
Checks
Did you run
make generate
target? yesDid
make generate
change anything in other projects (host-operator, member-operator)? yesIn case of new CRD, did you the following? N?A
In case other projects are changed, please provides PR links.