-
Notifications
You must be signed in to change notification settings - Fork 70
Chore: upgrade go and k8s version #393
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
Changes from all commits
5618fc8
d2f5598
5641105
fe39f23
c602f9b
708116d
ee52ee1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,7 @@ jobs: | |
| - name: Set up Go | ||
| uses: actions/setup-go@v2 | ||
| with: | ||
| go-version: 1.17 | ||
| go-version: 1.23 | ||
PushparajShetty marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - name: Get release | ||
| id: get_release | ||
| uses: bruceadams/[email protected] | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| IMG ?= oamdev/terraform-controller:0.2.8 | ||||||
|
|
||||||
| # Produce CRDs that work back to Kubernetes 1.11 (no version conversion) | ||||||
| CRD_OPTIONS ?= "crd:trivialVersions=true" | ||||||
| CRD_OPTIONS ?= "crd" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing trivialVersions=true from CRD_OPTIONS may cause issues with CRD compatibility for clusters older than Kubernetes 1.13, as version conversion will not be handled. Ensure this is intentional and compatible with your supported Kubernetes versions.
Suggested change
|
||||||
|
|
||||||
| TIME_SHORT = `date +%H:%M:%S` | ||||||
| TIME = $(TIME_SHORT) | ||||||
|
|
@@ -82,15 +82,15 @@ ifeq (, $(shell which controller-gen)) | |||||
| CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ | ||||||
| cd $$CONTROLLER_GEN_TMP_DIR ;\ | ||||||
| go mod init tmp ;\ | ||||||
| go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2 ;\ | ||||||
| go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.5 ;\ | ||||||
| rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ | ||||||
| } | ||||||
| CONTROLLER_GEN=$(GOBIN)/controller-gen | ||||||
| else | ||||||
| CONTROLLER_GEN=$(shell which controller-gen) | ||||||
| endif | ||||||
|
|
||||||
| GOLANGCILINT_VERSION ?= v1.50.1 | ||||||
| GOLANGCILINT_VERSION ?= v1.60.1 | ||||||
| HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]') | ||||||
| HOSTARCH := $(shell uname -m) | ||||||
| ifeq ($(HOSTARCH),x86_64) | ||||||
|
|
@@ -131,7 +131,7 @@ goimports: | |||||
| ifeq (, $(shell which goimports)) | ||||||
| @{ \ | ||||||
| set -e ;\ | ||||||
| GO111MODULE=off go get -u golang.org/x/tools/cmd/goimports ;\ | ||||||
| go install golang.org/x/tools/cmd/goimports@latest ;\ | ||||||
| } | ||||||
| GOIMPORTS=$(GOBIN)/goimports | ||||||
| else | ||||||
|
|
||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.