Skip to content

Commit d0ec677

Browse files
Update controller gen version
Signed-off-by: Danil-Grigorev <[email protected]>
1 parent bae7add commit d0ec677

10 files changed

+623
-819
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ IMAGE_REVIEWERS ?= $(shell ./hack/get-project-maintainers.sh)
6666

6767
# Binaries.
6868
# Need to use abspath so we can invoke these from subdirectories
69-
CONTROLLER_GEN_VER := v0.15.0
69+
CONTROLLER_GEN_VER := v0.16.1
7070
CONTROLLER_GEN_BIN := controller-gen
7171
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/$(CONTROLLER_GEN_BIN)-$(CONTROLLER_GEN_VER)
7272

7373
GOLANGCI_LINT_VER := v1.57.2
7474
GOLANGCI_LINT_BIN := golangci-lint
7575
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/$(GOLANGCI_LINT_BIN)-$(GOLANGCI_LINT_VER)
7676

77-
KUSTOMIZE_VER := v5.0.1
77+
KUSTOMIZE_VER := v5.3.0
7878
KUSTOMIZE_BIN := kustomize
7979
KUSTOMIZE := $(TOOLS_BIN_DIR)/$(KUSTOMIZE_BIN)-$(KUSTOMIZE_VER)
8080

cmd/main.go

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,21 @@ var (
5454
setupLog = ctrl.Log.WithName("setup")
5555

5656
// flags.
57-
enableLeaderElection bool
58-
leaderElectionLeaseDuration time.Duration
59-
leaderElectionRenewDeadline time.Duration
60-
leaderElectionRetryPeriod time.Duration
61-
watchFilterValue string
62-
watchNamespace string
63-
profilerAddress string
64-
enableContentionProfiling bool
65-
concurrencyNumber int
66-
syncPeriod time.Duration
67-
clusterCacheTrackerClientQPS float32
68-
clusterCacheTrackerClientBurst int
69-
webhookPort int
70-
webhookCertDir string
71-
healthAddr string
72-
watchConfigSecretChanges bool
73-
managerOptions = flags.ManagerOptions{}
57+
enableLeaderElection bool
58+
leaderElectionLeaseDuration time.Duration
59+
leaderElectionRenewDeadline time.Duration
60+
leaderElectionRetryPeriod time.Duration
61+
watchFilterValue string
62+
watchNamespace string
63+
profilerAddress string
64+
enableContentionProfiling bool
65+
concurrencyNumber int
66+
syncPeriod time.Duration
67+
webhookPort int
68+
webhookCertDir string
69+
healthAddr string
70+
watchConfigSecretChanges bool
71+
managerOptions = flags.ManagerOptions{}
7472
)
7573

7674
func init() {
@@ -119,12 +117,6 @@ func InitFlags(fs *pflag.FlagSet) {
119117
fs.DurationVar(&syncPeriod, "sync-period", 10*time.Minute,
120118
"The minimum interval at which watched resources are reconciled (e.g. 15m)")
121119

122-
fs.Float32Var(&clusterCacheTrackerClientQPS, "clustercachetracker-client-qps", 20,
123-
"Maximum queries per second from the cluster cache tracker clients to the Kubernetes API server of workload clusters.")
124-
125-
fs.IntVar(&clusterCacheTrackerClientBurst, "clustercachetracker-client-burst", 30,
126-
"Maximum number of queries that should be allowed in one burst from the cluster cache tracker clients to the Kubernetes API server of workload clusters.")
127-
128120
fs.IntVar(&webhookPort, "webhook-port", 9443, "Webhook Server port")
129121

130122
fs.StringVar(&webhookCertDir, "webhook-cert-dir", "/tmp/k8s-webhook-server/serving-certs/",

config/crd/bases/operator.cluster.x-k8s.io_addonproviders.yaml

Lines changed: 33 additions & 43 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_bootstrapproviders.yaml

Lines changed: 51 additions & 67 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_controlplaneproviders.yaml

Lines changed: 51 additions & 67 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_coreproviders.yaml

Lines changed: 51 additions & 67 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_infrastructureproviders.yaml

Lines changed: 51 additions & 67 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_ipamproviders.yaml

Lines changed: 33 additions & 43 deletions
Large diffs are not rendered by default.

config/crd/bases/operator.cluster.x-k8s.io_runtimeextensionproviders.yaml

Lines changed: 33 additions & 43 deletions
Large diffs are not rendered by default.

test/e2e/resources/full-chart-install.yaml

Lines changed: 303 additions & 397 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)