Skip to content

Commit 24cdd82

Browse files
authored
Merge pull request #113 from Peefy/chore-bump-deps
chore: bump flux, k8s and controller-gen deps
2 parents 0750ed0 + c20cd71 commit 24cdd82

File tree

9 files changed

+144
-143
lines changed

9 files changed

+144
-143
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ manifests-release:
9292

9393
# Find or download controller-gen
9494
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
95-
CONTROLLER_GEN_VERSION ?= v0.15.0
95+
CONTROLLER_GEN_VERSION ?= v0.16.1
9696
.PHONY: controller-gen
9797
controller-gen: ## Download controller-gen locally if necessary.
9898
$(call go-install-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_VERSION))

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 18 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ func main() {
118118
PollingOpts: pollingOpts,
119119
StatusPoller: polling.NewStatusPoller(mgr.GetClient(), mgr.GetRESTMapper(), pollingOpts),
120120
}).SetupWithManager(mgr, controller.KCLRunReconcilerOptions{
121-
HTTPRetry: httpRetry,
122-
RateLimiter: helper.GetRateLimiter(rateLimiterOptions),
121+
HTTPRetry: httpRetry,
123122
}); err != nil {
124123
setupLog.Error(err, "unable to create controller", "controller", "KCLRun")
125124
os.Exit(1)

config/crd/bases/krm.kcl.dev.fluxcd_kclruns.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: kclruns.krm.kcl.dev.fluxcd
88
spec:
99
group: krm.kcl.dev.fluxcd
@@ -85,7 +85,6 @@ spec:
8585
duration of the reconciliation, instead of being created and destroyed
8686
for each (step of a).
8787
88-
8988
If not set, it defaults to true.
9089
type: boolean
9190
serviceAccountName:
@@ -141,16 +140,8 @@ spec:
141140
properties:
142141
conditions:
143142
items:
144-
description: "Condition contains details for one aspect of the current
145-
state of this API Resource.\n---\nThis struct is intended for
146-
direct use as an array at the field path .status.conditions. For
147-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
148-
observations of a foo's current state.\n\t // Known .status.conditions.type
149-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
150-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
151-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
152-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
153-
\ // other fields\n\t}"
143+
description: Condition contains details for one aspect of the current
144+
state of this API Resource.
154145
properties:
155146
lastTransitionTime:
156147
description: |-
@@ -191,12 +182,7 @@ spec:
191182
- Unknown
192183
type: string
193184
type:
194-
description: |-
195-
type of condition in CamelCase or in foo.example.com/CamelCase.
196-
---
197-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
198-
useful (see .node.status.conditions), the ability to deconflict is important.
199-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
185+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
200186
maxLength: 316
201187
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
202188
type: string

go.mod

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ go 1.22.2
77
replace github.com/opencontainers/go-digest => github.com/opencontainers/go-digest v1.0.1-0.20220411205349-bde1400a84be
88

99
require (
10-
github.com/fluxcd/cli-utils v0.36.0-flux.7
10+
github.com/fluxcd/cli-utils v0.36.0-flux.9
1111
github.com/fluxcd/kustomize-controller/api v1.3.0
12-
github.com/fluxcd/pkg/http/fetch v0.11.0
13-
github.com/fluxcd/pkg/runtime v0.47.1
14-
github.com/fluxcd/pkg/ssa v0.39.1
15-
github.com/fluxcd/pkg/tar v0.7.0
12+
github.com/fluxcd/pkg/http/fetch v0.12.0
13+
github.com/fluxcd/pkg/runtime v0.49.0
14+
github.com/fluxcd/pkg/ssa v0.41.0
15+
github.com/fluxcd/pkg/tar v0.8.0
1616
github.com/fluxcd/source-controller/api v1.3.0
1717
github.com/onsi/ginkgo/v2 v2.20.0
1818
github.com/onsi/gomega v1.34.1
1919
github.com/spf13/pflag v1.0.5
20-
k8s.io/apimachinery v0.30.0
21-
k8s.io/client-go v0.30.0
20+
k8s.io/apimachinery v0.31.0
21+
k8s.io/client-go v0.31.0
2222
kcl-lang.io/kcl-go v0.9.3
2323
kcl-lang.io/kpm v0.9.8
24-
sigs.k8s.io/controller-runtime v0.18.2
24+
sigs.k8s.io/controller-runtime v0.19.0
2525
)
2626

2727
require (
@@ -63,12 +63,12 @@ require (
6363
github.com/dominikbraun/graph v0.23.0 // indirect
6464
github.com/elliotchance/orderedmap/v2 v2.2.0 // indirect
6565
github.com/emirpasic/gods v1.18.1 // indirect
66-
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
6766
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
6867
github.com/fatih/color v1.16.0 // indirect
6968
github.com/felixge/httpsnoop v1.0.4 // indirect
7069
github.com/fluxcd/pkg/apis/acl v0.3.0 // indirect
7170
github.com/fluxcd/pkg/apis/kustomize v1.5.0 // indirect
71+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
7272
github.com/go-errors/errors v1.5.1 // indirect
7373
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
7474
github.com/go-git/go-billy/v5 v5.5.0 // indirect
@@ -96,7 +96,7 @@ require (
9696
github.com/jmespath/go-jmespath v0.4.0 // indirect
9797
github.com/julienschmidt/httprouter v1.3.0 // indirect
9898
github.com/kevinburke/ssh_config v1.2.0 // indirect
99-
github.com/klauspost/compress v1.17.8 // indirect
99+
github.com/klauspost/compress v1.17.9 // indirect
100100
github.com/kubescape/go-git-url v0.0.30 // indirect
101101
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
102102
github.com/mattn/go-colorable v0.1.13 // indirect
@@ -106,7 +106,7 @@ require (
106106
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
107107
github.com/mitchellh/mapstructure v1.5.0 // indirect
108108
github.com/moby/locker v1.0.1 // indirect
109-
github.com/moby/spdystream v0.2.0 // indirect
109+
github.com/moby/spdystream v0.4.0 // indirect
110110
github.com/moby/sys/mountinfo v0.7.1 // indirect
111111
github.com/moby/sys/user v0.1.0 // indirect
112112
github.com/moby/term v0.5.0 // indirect
@@ -118,23 +118,23 @@ require (
118118
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
119119
github.com/pjbgf/sha1cd v0.3.0 // indirect
120120
github.com/powerman/rpc-codec v1.2.2 // indirect
121-
github.com/rogpeppe/go-internal v1.12.0 // indirect
122121
github.com/russross/blackfriday/v2 v2.1.0 // indirect
123122
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
124123
github.com/sirupsen/logrus v1.9.3 // indirect
125124
github.com/skeema/knownhosts v1.2.2 // indirect
126-
github.com/spf13/cobra v1.8.0 // indirect
125+
github.com/spf13/cobra v1.8.1 // indirect
127126
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
128127
github.com/thoas/go-funk v0.9.3 // indirect
129128
github.com/ulikunitz/xz v0.5.12 // indirect
129+
github.com/x448/float16 v0.8.4 // indirect
130130
github.com/xanzy/ssh-agent v0.3.3 // indirect
131131
github.com/xlab/treeprint v1.2.0 // indirect
132132
go.opencensus.io v0.24.0 // indirect
133-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
134-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
135-
go.opentelemetry.io/otel v1.24.0 // indirect
136-
go.opentelemetry.io/otel/metric v1.24.0 // indirect
137-
go.opentelemetry.io/otel/trace v1.24.0 // indirect
133+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect
134+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
135+
go.opentelemetry.io/otel v1.28.0 // indirect
136+
go.opentelemetry.io/otel/metric v1.28.0 // indirect
137+
go.opentelemetry.io/otel/trace v1.28.0 // indirect
138138
go.starlark.net v0.0.0-20231121155337-90ade8b19d09 // indirect
139139
golang.org/x/crypto v0.26.0 // indirect
140140
golang.org/x/mod v0.20.0 // indirect
@@ -144,17 +144,17 @@ require (
144144
google.golang.org/api v0.169.0 // indirect
145145
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
146146
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 // indirect
147-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
147+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
148148
google.golang.org/grpc v1.65.0 // indirect
149149
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
150150
gopkg.in/warnings.v0 v0.1.2 // indirect
151-
k8s.io/cli-runtime v0.30.0 // indirect
152-
k8s.io/kubectl v0.30.0 // indirect
151+
k8s.io/cli-runtime v0.31.0 // indirect
152+
k8s.io/kubectl v0.31.0 // indirect
153153
kcl-lang.io/lib v0.9.3 // indirect
154154
oras.land/oras-go v1.2.5 // indirect
155155
oras.land/oras-go/v2 v2.5.0 // indirect
156-
sigs.k8s.io/kustomize/api v0.17.1 // indirect
157-
sigs.k8s.io/kustomize/kyaml v0.17.0 // indirect
156+
sigs.k8s.io/kustomize/api v0.17.3 // indirect
157+
sigs.k8s.io/kustomize/kyaml v0.17.2 // indirect
158158
)
159159

160160
require (
@@ -164,7 +164,7 @@ require (
164164
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
165165
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
166166
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
167-
github.com/fluxcd/pkg/apis/meta v1.5.0
167+
github.com/fluxcd/pkg/apis/meta v1.6.0
168168
github.com/fluxcd/source-watcher v1.1.0
169169
github.com/fsnotify/fsnotify v1.7.0 // indirect
170170
github.com/go-logr/logr v1.4.2 // indirect
@@ -180,43 +180,43 @@ require (
180180
github.com/google/gofuzz v1.2.0 // indirect
181181
github.com/google/uuid v1.6.0 // indirect
182182
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
183-
github.com/hashicorp/go-retryablehttp v0.7.6 // indirect
183+
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
184184
github.com/imdario/mergo v0.3.16 // indirect
185185
github.com/josharian/intern v1.0.0 // indirect
186186
github.com/json-iterator/go v1.1.12 // indirect
187-
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
187+
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
188188
github.com/mailru/easyjson v0.7.7 // indirect
189189
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
190190
github.com/modern-go/reflect2 v1.0.2 // indirect
191191
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
192192
github.com/opencontainers/go-digest v1.0.0 // indirect
193193
github.com/opencontainers/go-digest/blake3 v0.0.0-20231025023718-d50d2fec9c98 // indirect
194194
github.com/pkg/errors v0.9.1 // indirect
195-
github.com/prometheus/client_golang v1.19.0 // indirect
195+
github.com/prometheus/client_golang v1.20.0 // indirect
196196
github.com/prometheus/client_model v0.6.1 // indirect
197-
github.com/prometheus/common v0.53.0 // indirect
198-
github.com/prometheus/procfs v0.14.0 // indirect
197+
github.com/prometheus/common v0.55.0 // indirect
198+
github.com/prometheus/procfs v0.15.1 // indirect
199199
github.com/zeebo/blake3 v0.2.3 // indirect
200200
go.uber.org/multierr v1.11.0 // indirect
201201
go.uber.org/zap v1.27.0 // indirect
202202
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
203203
golang.org/x/net v0.28.0 // indirect
204-
golang.org/x/oauth2 v0.20.0 // indirect
205-
golang.org/x/sys v0.23.0 // indirect
204+
golang.org/x/oauth2 v0.22.0 // indirect
205+
golang.org/x/sys v0.24.0 // indirect
206206
golang.org/x/term v0.23.0 // indirect
207207
golang.org/x/text v0.17.0 // indirect
208-
golang.org/x/time v0.5.0 // indirect
208+
golang.org/x/time v0.6.0 // indirect
209209
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
210210
google.golang.org/protobuf v1.34.2 // indirect
211211
gopkg.in/inf.v0 v0.9.1 // indirect
212212
gopkg.in/yaml.v2 v2.4.0 // indirect
213213
gopkg.in/yaml.v3 v3.0.1 // indirect
214-
k8s.io/api v0.30.0
215-
k8s.io/apiextensions-apiserver v0.30.0 // indirect
216-
k8s.io/component-base v0.30.0 // indirect
217-
k8s.io/klog/v2 v2.120.1 // indirect
214+
k8s.io/api v0.31.0
215+
k8s.io/apiextensions-apiserver v0.31.0 // indirect
216+
k8s.io/component-base v0.31.0 // indirect
217+
k8s.io/klog/v2 v2.130.1 // indirect
218218
k8s.io/kube-openapi v0.0.0-20240411171206-dc4e619f62f3 // indirect
219-
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
219+
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
220220
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
221221
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
222222
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)