Skip to content

Commit c28f44a

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents cfd7b49 + 266891b commit c28f44a

File tree

8 files changed

+359
-245
lines changed

8 files changed

+359
-245
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ VERSION ?= v0.0.0-dev
1212
BUNDLE_VERSION ?= $(VERSION:v%=%)
1313

1414
# APPWRAPPER_VERSION defines the default version of the AppWrapper controller
15-
APPWRAPPER_VERSION ?= v1.0.7
15+
APPWRAPPER_VERSION ?= v1.1.2
1616
APPWRAPPER_REPO ?= github.com/project-codeflare/appwrapper
1717
APPWRAPPER_CRD ?= ${APPWRAPPER_REPO}/config/crd?ref=${APPWRAPPER_VERSION}
1818

19-
# KUEUE_VERSION defines the default version of Kueue (used for testing)
20-
KUEUE_VERSION ?= v0.10.2
19+
# KUEUE_VERSION defines the version of Kueue deployed for testing
20+
KUEUE_VERSION ?= v0.11.6
2121

2222
USE_RHOAI ?= true
2323
# KUBERAY_VERSION defines the default version of the KubeRay operator (used for testing)
@@ -160,7 +160,6 @@ vet: ## Run go vet against code.
160160
.PHONY: modules
161161
modules: ## Update Go dependencies.
162162
go get github.com/ray-project/kuberay/ray-operator@$(KUBERAY_VERSION)
163-
go get sigs.k8s.io/kueue@$(KUEUE_VERSION)
164163
go get github.com/project-codeflare/appwrapper@$(APPWRAPPER_VERSION)
165164
go mod tidy
166165

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- github.com/project-codeflare/appwrapper/config/crd?ref=v1.0.7
4+
- github.com/project-codeflare/appwrapper/config/crd?ref=v1.1.2

config/crd/crd-appwrapper.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ spec:
144144
type: object
145145
type: array
146146
podSets:
147-
description: DeclaredPodSets for the Component (optional for known PodCreating GVKs)
147+
description: DeclaredPodSets for the Component (optional for known GVKs whose PodSets can be automatically inferred)
148148
items:
149-
description: AppWrapperPodSet describes an homogeneous set of pods
149+
description: AppWrapperPodSet describes a homogeneous set of pods
150150
properties:
151151
annotations:
152152
additionalProperties:
@@ -156,7 +156,7 @@ spec:
156156
arbitrary metadata about the PodSet to customize its treatment by the AppWrapper controller.
157157
type: object
158158
path:
159-
description: Path is the path Component.Template to the PodTemplateSpec for this PodSet
159+
description: Path is the path within Component.Template to the PodTemplateSpec for this PodSet
160160
type: string
161161
replicas:
162162
description: Replicas is the number of pods in this PodSet
@@ -185,7 +185,7 @@ spec:
185185
- components
186186
type: object
187187
status:
188-
description: AppWrapperStatus defines the observed state of the appwrapper
188+
description: AppWrapperStatus defines the observed state of the AppWrapper
189189
properties:
190190
componentStatus:
191191
description: ComponentStatus parallels the Components array in the Spec and tracks the actually deployed resources
@@ -268,7 +268,7 @@ spec:
268268
podSets:
269269
description: PodSets is the validated PodSets for the Component (either from AppWrapperComponent.DeclaredPodSets or inferred by the controller)
270270
items:
271-
description: AppWrapperPodSet describes an homogeneous set of pods
271+
description: AppWrapperPodSet describes a homogeneous set of pods
272272
properties:
273273
annotations:
274274
additionalProperties:
@@ -278,7 +278,7 @@ spec:
278278
arbitrary metadata about the PodSet to customize its treatment by the AppWrapper controller.
279279
type: object
280280
path:
281-
description: Path is the path Component.Template to the PodTemplateSpec for this PodSet
281+
description: Path is the path within Component.Template to the PodTemplateSpec for this PodSet
282282
type: string
283283
replicas:
284284
description: Replicas is the number of pods in this PodSet

config/rbac/role.yaml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ rules:
1414
- patch
1515
- update
1616
- watch
17-
- apiGroups:
18-
- ""
19-
resources:
20-
- namespaces
21-
verbs:
22-
- get
23-
- list
24-
- watch
2517
- apiGroups:
2618
- ""
2719
resources:
@@ -188,58 +180,6 @@ rules:
188180
- patch
189181
- update
190182
- watch
191-
- apiGroups:
192-
- kueue.x-k8s.io
193-
resources:
194-
- clusterqueues
195-
verbs:
196-
- get
197-
- list
198-
- patch
199-
- update
200-
- watch
201-
- apiGroups:
202-
- kueue.x-k8s.io
203-
resources:
204-
- resourceflavors
205-
verbs:
206-
- get
207-
- list
208-
- watch
209-
- apiGroups:
210-
- kueue.x-k8s.io
211-
resources:
212-
- workloadpriorityclasses
213-
verbs:
214-
- get
215-
- list
216-
- watch
217-
- apiGroups:
218-
- kueue.x-k8s.io
219-
resources:
220-
- workloads
221-
verbs:
222-
- create
223-
- delete
224-
- get
225-
- list
226-
- patch
227-
- update
228-
- watch
229-
- apiGroups:
230-
- kueue.x-k8s.io
231-
resources:
232-
- workloads/finalizers
233-
verbs:
234-
- update
235-
- apiGroups:
236-
- kueue.x-k8s.io
237-
resources:
238-
- workloads/status
239-
verbs:
240-
- get
241-
- patch
242-
- update
243183
- apiGroups:
244184
- networking.k8s.io
245185
resources:
@@ -327,14 +267,6 @@ rules:
327267
- patch
328268
- update
329269
- watch
330-
- apiGroups:
331-
- scheduling.k8s.io
332-
resources:
333-
- priorityclasses
334-
verbs:
335-
- get
336-
- list
337-
- watch
338270
- apiGroups:
339271
- scheduling.sigs.k8s.io
340272
resources:

go.mod

Lines changed: 48 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,39 @@ go 1.23.0
44

55
require (
66
github.com/go-logr/logr v1.4.2
7-
github.com/onsi/ginkgo/v2 v2.22.0
8-
github.com/onsi/gomega v1.36.1
7+
github.com/onsi/ginkgo/v2 v2.23.0
8+
github.com/onsi/gomega v1.36.2
99
github.com/open-policy-agent/cert-controller v0.12.0
1010
github.com/opendatahub-io/opendatahub-operator/v2 v2.10.0
1111
github.com/openshift/api v0.0.0-20240904015708-69df64132c91
1212
github.com/openshift/client-go v0.0.0-20240904130219-3795e907a202
13-
github.com/project-codeflare/appwrapper v1.0.7
13+
github.com/project-codeflare/appwrapper v1.1.2
1414
github.com/project-codeflare/codeflare-common v0.0.0-20250321141415-67bb8bd932df
1515
github.com/ray-project/kuberay/ray-operator v1.2.2
1616
go.uber.org/zap v1.27.0
17-
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
18-
k8s.io/api v0.31.4
19-
k8s.io/apiextensions-apiserver v0.31.2
20-
k8s.io/apimachinery v0.31.4
17+
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394
18+
k8s.io/api v0.32.3
19+
k8s.io/apiextensions-apiserver v0.32.3
20+
k8s.io/apimachinery v0.32.3
2121
k8s.io/client-go v11.0.0+incompatible
22-
k8s.io/component-base v0.31.4
22+
k8s.io/component-base v0.32.3
2323
k8s.io/klog/v2 v2.130.1
24-
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
25-
sigs.k8s.io/controller-runtime v0.19.3
26-
sigs.k8s.io/kueue v0.10.2
24+
k8s.io/utils v0.0.0-20241210054802-24370beab758
25+
sigs.k8s.io/controller-runtime v0.20.3
26+
sigs.k8s.io/kueue v0.10.1
2727
sigs.k8s.io/yaml v1.4.0
2828
)
2929

3030
replace k8s.io/client-go => k8s.io/client-go v0.31.4
3131

32+
replace k8s.io/api => k8s.io/api v0.31.4
33+
34+
replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.31.2
35+
36+
replace k8s.io/apimachinery v0.32.3 => k8s.io/apimachinery v0.31.4
37+
38+
replace sigs.k8s.io/controller-runtime v0.20.3 => sigs.k8s.io/controller-runtime v0.19.3
39+
3240
replace sigs.k8s.io/custom-metrics-apiserver => sigs.k8s.io/custom-metrics-apiserver v1.25.1-0.20230306170449-63d8c93851f3
3341

3442
replace go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0
@@ -41,39 +49,37 @@ replace github.com/ray-project/kuberay/ray-operator v1.2.2 => github.com/ray-pro
4149
require (
4250
github.com/aymerick/douceur v0.2.0 // indirect
4351
github.com/beorn7/perks v1.0.1 // indirect
44-
github.com/blang/semver/v4 v4.0.0 // indirect
4552
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
4653
github.com/cespare/xxhash/v2 v2.3.0 // indirect
4754
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
48-
github.com/distribution/reference v0.5.0 // indirect
49-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
50-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
55+
github.com/distribution/reference v0.6.0 // indirect
56+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
57+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
5158
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
5259
github.com/go-logr/zapr v1.3.0 // indirect
53-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
60+
github.com/go-openapi/jsonpointer v0.21.1 // indirect
5461
github.com/go-openapi/jsonreference v0.21.0 // indirect
55-
github.com/go-openapi/swag v0.23.0 // indirect
62+
github.com/go-openapi/swag v0.23.1 // indirect
5663
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
5764
github.com/gogo/protobuf v1.3.2 // indirect
5865
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
5966
github.com/golang/glog v1.2.4 // indirect
6067
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
6168
github.com/golang/protobuf v1.5.4 // indirect
62-
github.com/google/gnostic-models v0.6.8 // indirect
63-
github.com/google/go-cmp v0.6.0 // indirect
69+
github.com/google/gnostic-models v0.6.9 // indirect
70+
github.com/google/go-cmp v0.7.0 // indirect
6471
github.com/google/gofuzz v1.2.0 // indirect
65-
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
72+
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
6673
github.com/google/uuid v1.6.0 // indirect
6774
github.com/gorilla/css v1.0.0 // indirect
6875
github.com/imdario/mergo v0.3.16 // indirect
6976
github.com/jackc/pgx/v5 v5.5.5 // indirect
7077
github.com/josharian/intern v1.0.0 // indirect
7178
github.com/jpillora/backoff v1.0.0 // indirect
7279
github.com/json-iterator/go v1.1.12 // indirect
73-
github.com/klauspost/compress v1.17.9 // indirect
74-
github.com/kubeflow/mpi-operator v0.6.0 // indirect
75-
github.com/kubeflow/training-operator v1.8.1 // indirect
76-
github.com/mailru/easyjson v0.7.7 // indirect
80+
github.com/klauspost/compress v1.18.0 // indirect
81+
github.com/kubeflow/training-operator v1.9.0 // indirect
82+
github.com/mailru/easyjson v0.9.0 // indirect
7783
github.com/microcosm-cc/bluemonday v1.0.18 // indirect
7884
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7985
github.com/modern-go/reflect2 v1.0.2 // indirect
@@ -83,33 +89,32 @@ require (
8389
github.com/openshift-online/ocm-sdk-go v0.1.411 // indirect
8490
github.com/openshift/custom-resource-status v1.1.2 // indirect
8591
github.com/pkg/errors v0.9.1 // indirect
86-
github.com/prometheus/client_golang v1.20.5 // indirect
92+
github.com/prometheus/client_golang v1.21.1 // indirect
8793
github.com/prometheus/client_model v0.6.1 // indirect
88-
github.com/prometheus/common v0.57.0 // indirect
89-
github.com/prometheus/procfs v0.15.1 // indirect
94+
github.com/prometheus/common v0.63.0 // indirect
95+
github.com/prometheus/procfs v0.16.0 // indirect
9096
github.com/sirupsen/logrus v1.9.3 // indirect
9197
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
92-
github.com/spf13/pflag v1.0.5 // indirect
98+
github.com/spf13/pflag v1.0.6 // indirect
9399
github.com/x448/float16 v0.8.4 // indirect
94100
go.uber.org/atomic v1.11.0 // indirect
95101
go.uber.org/multierr v1.11.0 // indirect
96-
golang.org/x/net v0.33.0 // indirect
97-
golang.org/x/oauth2 v0.21.0 // indirect
98-
golang.org/x/sys v0.28.0 // indirect
99-
golang.org/x/term v0.27.0 // indirect
100-
golang.org/x/text v0.21.0 // indirect
101-
golang.org/x/time v0.6.0 // indirect
102-
golang.org/x/tools v0.28.0 // indirect
103-
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
104-
google.golang.org/protobuf v1.35.1 // indirect
102+
golang.org/x/net v0.37.0 // indirect
103+
golang.org/x/oauth2 v0.28.0 // indirect
104+
golang.org/x/sys v0.31.0 // indirect
105+
golang.org/x/term v0.30.0 // indirect
106+
golang.org/x/text v0.23.0 // indirect
107+
golang.org/x/time v0.11.0 // indirect
108+
golang.org/x/tools v0.31.0 // indirect
109+
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
110+
google.golang.org/protobuf v1.36.5 // indirect
105111
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
106112
gopkg.in/inf.v0 v0.9.1 // indirect
107113
gopkg.in/yaml.v2 v2.4.0 // indirect
108114
gopkg.in/yaml.v3 v3.0.1 // indirect
109-
k8s.io/apiserver v0.31.4 // indirect
110-
k8s.io/component-helpers v0.31.4 // indirect
111-
k8s.io/kube-openapi v0.0.0-20240812233141-91dab695df6f // indirect
112-
sigs.k8s.io/jobset v0.7.1 // indirect
113-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
114-
sigs.k8s.io/structured-merge-diff/v4 v4.4.3 // indirect
115+
k8s.io/kube-openapi v0.0.0-20250304201544-e5f78fe3ede9 // indirect
116+
sigs.k8s.io/jobset v0.8.0 // indirect
117+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
118+
sigs.k8s.io/randfill v1.0.0 // indirect
119+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
115120
)

0 commit comments

Comments
 (0)