Skip to content

Commit 538372f

Browse files
committed
fix(csv): icons in csv schema should be an array
1 parent 3a3c032 commit 538372f

File tree

5 files changed

+90
-80
lines changed

5 files changed

+90
-80
lines changed

deploy/chart/templates/0000_50_olm_02-clusterserviceversion.crd.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,22 +112,24 @@ spec:
112112
icon:
113113
type: array
114114
description: Icon which should be rendered with the application information
115-
required:
116-
- base64data
117-
- mediatype
118-
properties:
119-
base64data:
120-
type: string
121-
description: Base64 binary representation of the icon image
122-
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
123-
mediatype:
124-
type: string
125-
description: Mediatype for the binary data specified in the base64data property
126-
enum:
127-
- image/gif
128-
- image/jpeg
129-
- image/png
130-
- image/svg+xml
115+
items:
116+
type: object
117+
required:
118+
- base64data
119+
- mediatype
120+
properties:
121+
base64data:
122+
type: string
123+
description: Base64 binary representation of the icon image
124+
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
125+
mediatype:
126+
type: string
127+
description: Mediatype for the binary data specified in the base64data property
128+
enum:
129+
- image/gif
130+
- image/jpeg
131+
- image/png
132+
- image/svg+xml
131133
version:
132134
type: string
133135
description: Version string, recommended that users use semantic versioning

deploy/ocp/manifests/0.8.1/0000_50_olm_02-clusterserviceversion.crd.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,24 @@ spec:
114114
icon:
115115
type: array
116116
description: Icon which should be rendered with the application information
117-
required:
118-
- base64data
119-
- mediatype
120-
properties:
121-
base64data:
122-
type: string
123-
description: Base64 binary representation of the icon image
124-
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
125-
mediatype:
126-
type: string
127-
description: Mediatype for the binary data specified in the base64data property
128-
enum:
129-
- image/gif
130-
- image/jpeg
131-
- image/png
132-
- image/svg+xml
117+
items:
118+
type: object
119+
required:
120+
- base64data
121+
- mediatype
122+
properties:
123+
base64data:
124+
type: string
125+
description: Base64 binary representation of the icon image
126+
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
127+
mediatype:
128+
type: string
129+
description: Mediatype for the binary data specified in the base64data property
130+
enum:
131+
- image/gif
132+
- image/jpeg
133+
- image/png
134+
- image/svg+xml
133135
version:
134136
type: string
135137
description: Version string, recommended that users use semantic versioning

deploy/okd/manifests/0.8.1/0000_50_olm_02-clusterserviceversion.crd.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,24 @@ spec:
114114
icon:
115115
type: array
116116
description: Icon which should be rendered with the application information
117-
required:
118-
- base64data
119-
- mediatype
120-
properties:
121-
base64data:
122-
type: string
123-
description: Base64 binary representation of the icon image
124-
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
125-
mediatype:
126-
type: string
127-
description: Mediatype for the binary data specified in the base64data property
128-
enum:
129-
- image/gif
130-
- image/jpeg
131-
- image/png
132-
- image/svg+xml
117+
items:
118+
type: object
119+
required:
120+
- base64data
121+
- mediatype
122+
properties:
123+
base64data:
124+
type: string
125+
description: Base64 binary representation of the icon image
126+
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
127+
mediatype:
128+
type: string
129+
description: Mediatype for the binary data specified in the base64data property
130+
enum:
131+
- image/gif
132+
- image/jpeg
133+
- image/png
134+
- image/svg+xml
133135
version:
134136
type: string
135137
description: Version string, recommended that users use semantic versioning

deploy/upstream/manifests/0.8.1/0000_50_olm_02-clusterserviceversion.crd.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,24 @@ spec:
114114
icon:
115115
type: array
116116
description: Icon which should be rendered with the application information
117-
required:
118-
- base64data
119-
- mediatype
120-
properties:
121-
base64data:
122-
type: string
123-
description: Base64 binary representation of the icon image
124-
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
125-
mediatype:
126-
type: string
127-
description: Mediatype for the binary data specified in the base64data property
128-
enum:
129-
- image/gif
130-
- image/jpeg
131-
- image/png
132-
- image/svg+xml
117+
items:
118+
type: object
119+
required:
120+
- base64data
121+
- mediatype
122+
properties:
123+
base64data:
124+
type: string
125+
description: Base64 binary representation of the icon image
126+
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
127+
mediatype:
128+
type: string
129+
description: Mediatype for the binary data specified in the base64data property
130+
enum:
131+
- image/gif
132+
- image/jpeg
133+
- image/png
134+
- image/svg+xml
133135
version:
134136
type: string
135137
description: Version string, recommended that users use semantic versioning

manifests/0000_50_olm_02-clusterserviceversion.crd.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,22 +112,24 @@ spec:
112112
icon:
113113
type: array
114114
description: Icon which should be rendered with the application information
115-
required:
116-
- base64data
117-
- mediatype
118-
properties:
119-
base64data:
120-
type: string
121-
description: Base64 binary representation of the icon image
122-
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
123-
mediatype:
124-
type: string
125-
description: Mediatype for the binary data specified in the base64data property
126-
enum:
127-
- image/gif
128-
- image/jpeg
129-
- image/png
130-
- image/svg+xml
115+
items:
116+
type: object
117+
required:
118+
- base64data
119+
- mediatype
120+
properties:
121+
base64data:
122+
type: string
123+
description: Base64 binary representation of the icon image
124+
pattern: ^(?:[A-Za-z0-9+/]{4}){0,16250}(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
125+
mediatype:
126+
type: string
127+
description: Mediatype for the binary data specified in the base64data property
128+
enum:
129+
- image/gif
130+
- image/jpeg
131+
- image/png
132+
- image/svg+xml
131133
version:
132134
type: string
133135
description: Version string, recommended that users use semantic versioning

0 commit comments

Comments
 (0)