Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions deploy/chart/crds/0000_50_olm_00-clusterserviceversions.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
jsonPath: .spec.version
name: Version
type: string
- description: The release of this version of the CSV
jsonPath: .spec.release
name: Release
type: string
- description: The name of a CSV that this one replaces
jsonPath: .spec.replaces
name: Replaces
Expand Down Expand Up @@ -8988,6 +8992,30 @@ spec:
type: string
name:
type: string
release:
description: |-
release specifies the packaging version of the operator, defaulting to empty
release is optional

A ClusterServiceVersion's release field is used to distinguish between different builds of the same operator version
This is useful for operators that need to make changes to the CSV which don't affect their functionality,
for example:
- to fix a typo in their description
- to add/amend annotations or labels
- to amend examples or documentation
- to produce different builds for different environments

It is up to operator authors to determine the semantics of release versions they use
for their operator. All release versions must conform to the semver prerelease format
(dot-separated identifiers containing only alphanumerics and hyphens) and are limited
to a maximum length of 20 characters.
type: string
maxLength: 20
x-kubernetes-validations:
- rule: self.matches('^[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*$')
message: release version must be composed of dot-separated identifiers containing only alphanumerics and hyphens
- rule: '!self.split(''.'').exists(x, x.matches(''^0[0-9]+$''))'
message: numeric identifiers in release version must not have leading zeros
replaces:
description: The name of a CSV this one replaces. Should match the `metadata.Name` field of the old CSV.
type: string
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/onsi/gomega v1.38.3
github.com/openshift/api v0.0.0-20251111193948-50e2ece149d7
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235
github.com/operator-framework/api v0.36.0
github.com/operator-framework/api v0.37.0
github.com/operator-framework/operator-registry v1.61.0
github.com/otiai10/copy v1.14.1
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ github.com/openshift/api v0.0.0-20251111193948-50e2ece149d7 h1:MemawsK6SpxEaE5y0
github.com/openshift/api v0.0.0-20251111193948-50e2ece149d7/go.mod h1:d5uzF0YN2nQQFA0jIEWzzOZ+edmo6wzlGLvx5Fhz4uY=
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 h1:9JBeIXmnHlpXTQPi7LPmu1jdxznBhAE7bb1K+3D8gxY=
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235/go.mod h1:L49W6pfrZkfOE5iC1PqEkuLkXG4W0BX4w8b+L2Bv7fM=
github.com/operator-framework/api v0.36.0 h1:6+duRhamCvB540JbvNp/1+Pot7luff7HqdAOm9bAntg=
github.com/operator-framework/api v0.36.0/go.mod h1:QSmHMx8XpGsNWvjU5CUelVZC916VLp/TZhfYvGKpghM=
github.com/operator-framework/api v0.37.0 h1:2XCMWitBnumtJTqzip6LQKUwpM2pXVlt3gkpdlkbaCE=
github.com/operator-framework/api v0.37.0/go.mod h1:NZs4vB+Jiamyv3pdPDjZtuC4U7KX0eq4z2r5hKY5fUA=
github.com/operator-framework/operator-registry v1.61.0 h1:LgX6lP5hUHfpMTMygsnySc7PKxibzqIoqWUm6NPWl2M=
github.com/operator-framework/operator-registry v1.61.0/go.mod h1:KkZG1G7O/qz0J7d9Z0ukV9sgag7aRQ5xwcFRHUyn8Uc=
github.com/otiai10/copy v1.14.1 h1:5/7E6qsUMBaH5AnQ0sSLzzTg1oTECmcCmT6lvF45Na8=
Expand Down
8 changes: 7 additions & 1 deletion pkg/package-server/client/openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/operator-framework/api/crds/zz_defs.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,12 @@ github.com/openshift/client-go/config/informers/externalversions/internalinterfa
github.com/openshift/client-go/config/listers/config/v1
github.com/openshift/client-go/config/listers/config/v1alpha1
github.com/openshift/client-go/config/listers/config/v1alpha2
# github.com/operator-framework/api v0.36.0
# github.com/operator-framework/api v0.37.0
## explicit; go 1.24.6
github.com/operator-framework/api/crds
github.com/operator-framework/api/pkg/constraints
github.com/operator-framework/api/pkg/encoding
github.com/operator-framework/api/pkg/lib/release
github.com/operator-framework/api/pkg/lib/version
github.com/operator-framework/api/pkg/manifests
github.com/operator-framework/api/pkg/operators
Expand Down