Skip to content

Commit cf9a5d4

Browse files
committed
Generate v1beta1 client and upgrade deps
Signed-off-by: Jian Qiu <jqiu@redhat.com>
1 parent da5947e commit cf9a5d4

38 files changed

+1218
-1006
lines changed

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
# Binaries for programs and plugins
3+
*.exe
4+
*.exe~
5+
*.dll
6+
*.so
7+
*.dylib
8+
bin
9+
testbin/*
10+
vendor/*
11+
12+
# Test binary, build with `go test -c`
13+
*.test
14+
15+
# Output of the go coverage tool, specifically when used with LiteIDE
16+
*.out
17+
18+
# Kubernetes Generated files - skip generated files, except for vendored files
19+
20+
!vendor/**/zz_generated.*
21+
22+
# editor and IDE paraphernalia
23+
.idea
24+
*.swp
25+
*.swo
26+
*~

config/crd/about.k8s.io_clusterproperties.yaml

Lines changed: 64 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.17.2
87
name: clusterproperties.about.k8s.io
98
spec:
109
group: about.k8s.io
@@ -25,19 +24,25 @@ spec:
2524
name: v1alpha1
2625
schema:
2726
openAPIV3Schema:
28-
description: ClusterProperty is a resource provides a way to store identification
29-
related, cluster scoped information for multi-cluster tools while creating
30-
flexibility for implementations.
27+
description: |-
28+
ClusterProperty is a resource provides a way to store identification related,
29+
cluster scoped information for multi-cluster tools while creating flexibility
30+
for implementations.
3131
properties:
3232
apiVersion:
33-
description: 'APIVersion defines the versioned schema of this representation
34-
of an object. Servers should convert recognized schemas to the latest
35-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33+
description: |-
34+
APIVersion defines the versioned schema of this representation of an object.
35+
Servers should convert recognized schemas to the latest internal value, and
36+
may reject unrecognized values.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3638
type: string
3739
kind:
38-
description: 'Kind is a string value representing the REST resource this
39-
object represents. Servers may infer this from the endpoint the client
40-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40+
description: |-
41+
Kind is a string value representing the REST resource this object represents.
42+
Servers may infer this from the endpoint the client submits requests to.
43+
Cannot be updated.
44+
In CamelCase.
45+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4146
type: string
4247
metadata:
4348
type: object
@@ -55,11 +60,52 @@ spec:
5560
- spec
5661
type: object
5762
served: true
58-
storage: true
63+
storage: false
5964
subresources: {}
60-
status:
61-
acceptedNames:
62-
kind: ""
63-
plural: ""
64-
conditions: []
65-
storedVersions: []
65+
- additionalPrinterColumns:
66+
- jsonPath: .spec.value
67+
name: value
68+
type: string
69+
- jsonPath: .metadata.creationTimestamp
70+
name: age
71+
type: date
72+
name: v1beta1
73+
schema:
74+
openAPIV3Schema:
75+
description: ClusterProperty is the Schema for the clusterproperties API
76+
properties:
77+
apiVersion:
78+
description: |-
79+
APIVersion defines the versioned schema of this representation of an object.
80+
Servers should convert recognized schemas to the latest internal value, and
81+
may reject unrecognized values.
82+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
83+
type: string
84+
kind:
85+
description: |-
86+
Kind is a string value representing the REST resource this object represents.
87+
Servers may infer this from the endpoint the client submits requests to.
88+
Cannot be updated.
89+
In CamelCase.
90+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
91+
type: string
92+
metadata:
93+
type: object
94+
spec:
95+
description: ClusterPropertySpec defines the desired state of ClusterProperty
96+
properties:
97+
value:
98+
description: ClusterProperty value
99+
minLength: 1
100+
type: string
101+
required:
102+
- value
103+
type: object
104+
status:
105+
description: ClusterPropertyStatus defines the observed state of ClusterProperty
106+
type: object
107+
type: object
108+
served: true
109+
storage: true
110+
subresources:
111+
status: {}

go.mod

Lines changed: 25 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,45 @@
11
module sigs.k8s.io/about-api
22

3-
go 1.22
3+
go 1.24.0
44

55
require (
6-
k8s.io/apimachinery v0.29.1
7-
k8s.io/client-go v0.29.1
8-
k8s.io/code-generator v0.26.1
6+
k8s.io/apimachinery v0.32.8
7+
k8s.io/code-generator v0.32.8
98
)
109

1110
require (
12-
github.com/beorn7/perks v1.0.1 // indirect
13-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
14-
github.com/davecgh/go-spew v1.1.1 // indirect
1511
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
16-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
17-
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
18-
github.com/fsnotify/fsnotify v1.6.0 // indirect
19-
github.com/go-logr/logr v1.3.0 // indirect
20-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
12+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
13+
github.com/go-logr/logr v1.4.2 // indirect
14+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
2115
github.com/go-openapi/jsonreference v0.20.2 // indirect
22-
github.com/go-openapi/swag v0.22.3 // indirect
16+
github.com/go-openapi/swag v0.23.0 // indirect
2317
github.com/gogo/protobuf v1.3.2 // indirect
24-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
25-
github.com/golang/protobuf v1.5.3 // indirect
26-
github.com/google/gnostic-models v0.6.8 // indirect
27-
github.com/google/go-cmp v0.6.0 // indirect
18+
github.com/google/gnostic-models v0.6.9 // indirect
2819
github.com/google/gofuzz v1.2.0 // indirect
29-
github.com/google/uuid v1.3.0 // indirect
30-
github.com/imdario/mergo v0.3.6 // indirect
3120
github.com/josharian/intern v1.0.0 // indirect
3221
github.com/json-iterator/go v1.1.12 // indirect
3322
github.com/mailru/easyjson v0.7.7 // indirect
34-
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
3523
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3624
github.com/modern-go/reflect2 v1.0.2 // indirect
37-
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
38-
github.com/pkg/errors v0.9.1 // indirect
39-
github.com/prometheus/client_golang v1.14.0 // indirect
40-
github.com/prometheus/client_model v0.3.0 // indirect
41-
github.com/prometheus/common v0.37.0 // indirect
42-
github.com/prometheus/procfs v0.8.0 // indirect
25+
github.com/onsi/ginkgo/v2 v2.22.0 // indirect
26+
github.com/onsi/gomega v1.36.1 // indirect
4327
github.com/spf13/pflag v1.0.5 // indirect
44-
golang.org/x/mod v0.14.0 // indirect
45-
golang.org/x/net v0.19.0 // indirect
46-
golang.org/x/oauth2 v0.10.0 // indirect
47-
golang.org/x/sys v0.15.0 // indirect
48-
golang.org/x/term v0.15.0 // indirect
49-
golang.org/x/text v0.14.0 // indirect
50-
golang.org/x/time v0.3.0 // indirect
51-
golang.org/x/tools v0.16.1 // indirect
52-
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
53-
google.golang.org/appengine v1.6.7 // indirect
54-
google.golang.org/protobuf v1.31.0 // indirect
28+
github.com/x448/float16 v0.8.4 // indirect
29+
golang.org/x/mod v0.21.0 // indirect
30+
golang.org/x/net v0.38.0 // indirect
31+
golang.org/x/sync v0.12.0 // indirect
32+
golang.org/x/text v0.23.0 // indirect
33+
golang.org/x/tools v0.26.0 // indirect
34+
google.golang.org/protobuf v1.36.5 // indirect
5535
gopkg.in/inf.v0 v0.9.1 // indirect
56-
gopkg.in/yaml.v2 v2.4.0 // indirect
5736
gopkg.in/yaml.v3 v3.0.1 // indirect
58-
k8s.io/api v0.29.1 // indirect
59-
k8s.io/apiextensions-apiserver v0.26.1 // indirect
60-
k8s.io/component-base v0.26.1 // indirect
61-
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect
62-
k8s.io/klog/v2 v2.110.1 // indirect
63-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
64-
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
65-
sigs.k8s.io/controller-runtime v0.14.6 // indirect
66-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
67-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
68-
sigs.k8s.io/yaml v1.3.0 // indirect
37+
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 // indirect
38+
k8s.io/klog/v2 v2.130.1 // indirect
39+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
40+
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
41+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
42+
sigs.k8s.io/randfill v1.0.0 // indirect
43+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
44+
sigs.k8s.io/yaml v1.4.0 // indirect
6945
)

0 commit comments

Comments
 (0)