Skip to content

Commit 0cdfd7c

Browse files
Upgrade to AppWrapper v0.13.0
1 parent 60c4cc5 commit 0cdfd7c

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ 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 ?= v0.12.0
15+
APPWRAPPER_VERSION ?= v0.13.0
1616
APPWRAPPER_REPO ?= github.com/project-codeflare/appwrapper
1717
# Upstream AppWrapper is currently only creating release tags of the form `vX.Y.Z` (i.e the version)
1818
APPWRAPPER_CRD ?= ${APPWRAPPER_REPO}/config/crd?ref=${APPWRAPPER_VERSION}

Diff for: config/crd/appwrapper/kustomization.yaml

+1-1
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=v0.12.0
4+
- github.com/project-codeflare/appwrapper/config/crd?ref=v0.13.0

Diff for: config/crd/crd-appwrapper.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
type: object
126126
type: array
127127
podSets:
128-
description: PodSets contained in the Component
128+
description: DeclaredPodSets for the Component (optional for known PodCreating GVKs)
129129
items:
130130
description: AppWrapperPodSet describes an homogeneous set of pods
131131
properties:
@@ -243,10 +243,27 @@ spec:
243243
name:
244244
description: Name is the name of the Component
245245
type: string
246+
podSets:
247+
description: PodSets is the validated PodSets for the Component (either from AppWrapperComponent.DeclaredPodSets or inferred by the controller)
248+
items:
249+
description: AppWrapperPodSet describes an homogeneous set of pods
250+
properties:
251+
path:
252+
description: Path is the path Component.Template to the PodTemplateSpec for this PodSet
253+
type: string
254+
replicas:
255+
description: Replicas is the number of pods in this PodSet
256+
format: int32
257+
type: integer
258+
required:
259+
- path
260+
type: object
261+
type: array
246262
required:
247263
- apiVersion
248264
- kind
249265
- name
266+
- podSets
250267
type: object
251268
type: array
252269
conditions:

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/opendatahub-io/opendatahub-operator/v2 v2.10.0
1010
github.com/openshift/api v0.0.0-20230823114715-5fdd7511b790
1111
github.com/openshift/client-go v0.0.0-20221019143426-16aed247da5c
12-
github.com/project-codeflare/appwrapper v0.12.0
12+
github.com/project-codeflare/appwrapper v0.13.0
1313
github.com/project-codeflare/codeflare-common v0.0.0-20240528061920-68eadc29b5b0
1414
github.com/ray-project/kuberay/ray-operator v1.1.0
1515
go.uber.org/zap v1.26.0

Diff for: go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
242242
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
243243
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
244244
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
245-
github.com/project-codeflare/appwrapper v0.12.0 h1:QMxryBPK6ir3VK6Qx4NWOA05/s4xU6uDHI/nXmLznvw=
246-
github.com/project-codeflare/appwrapper v0.12.0/go.mod h1:sH9j/rXX6WIlZzFXUOuqK5pagASPZNhuCtdFK+3BDkw=
245+
github.com/project-codeflare/appwrapper v0.13.0 h1:2Br8BPsdHEstw5x0KKAyEbVQJPIspA0/xqbje1dx9OI=
246+
github.com/project-codeflare/appwrapper v0.13.0/go.mod h1:sH9j/rXX6WIlZzFXUOuqK5pagASPZNhuCtdFK+3BDkw=
247247
github.com/project-codeflare/codeflare-common v0.0.0-20240528061920-68eadc29b5b0 h1:3Vz7D9/TwzrBNujHQZGb4L6UKu3siAWwVP4Bj3ByUrU=
248248
github.com/project-codeflare/codeflare-common v0.0.0-20240528061920-68eadc29b5b0/go.mod h1:tlPi2e1HZQuf7AAFc7keWdVUNcxV+Gfh6Ss4KAQs1O0=
249249
github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk=

0 commit comments

Comments
 (0)