Skip to content

Commit

Permalink
upgrade kube version in Makefile (#583)
Browse files Browse the repository at this point in the history
Signed-off-by: zhujian <[email protected]>
  • Loading branch information
zhujian7 authored Mar 23, 2023
1 parent 83e6b12 commit d5f93a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export XDG_CACHE_HOME ?= $(BASE_DIR)/.cache
# KUBEBUILDER for unit test
export KUBEBUILDER_ASSETS ?=$(shell pwd)/$(PERMANENT_TMP_GOPATH)/kubebuilder/bin

K8S_VERSION ?=1.16.4
K8S_VERSION ?=1.23.1
KB_TOOLS_ARCHIVE_NAME :=kubebuilder-tools-$(K8S_VERSION)-$(GOHOSTOS)-$(GOHOSTARCH).tar.gz
KB_TOOLS_ARCHIVE_PATH := $(PERMANENT_TMP_GOPATH)/$(KB_TOOLS_ARCHIVE_NAME)

Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sonar.sources=.
sonar.exclusions=**/*_test.go,**/vendor/**,**/test/**,**/cmd/**,**/apis/**,**/api/**,**/klusterlet/log/**,**/klusterlet/agent/**,**/controllers/**,**/proxyserver/rest/**,**/error.go,**/kubecontrol.go
sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/*_generated*.go,**/*_generated/**,**/vendor/**,**/e2e/**
sonar.test.exclusions=**/*_generated*.go,**/*_generated/**,**/vendor/**,test/**
sonar.go.tests.reportPaths=report.json
sonar.go.coverage.reportPaths=coverage.out
sonar.externalIssuesReportPaths=gosec.json
3 changes: 1 addition & 2 deletions test/integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ var _ = ginkgo.BeforeSuite(func() {
Webhooks: []admissionv1.ValidatingWebhook{
{
Name: "ocm.validating.webhook.admission.open-cluster-management.io",
AdmissionReviewVersions: []string{"v1", "v1beta1"},
// AdmissionReviewVersions: []string{"v1"},
AdmissionReviewVersions: []string{"v1"},
ClientConfig: admissionv1.WebhookClientConfig{
Service: &admissionv1.ServiceReference{
Path: strPtr(validatingWebhookPath),
Expand Down

0 comments on commit d5f93a7

Please sign in to comment.