Skip to content

Commit bf8dc87

Browse files
Merge pull request #71969 from michaelryanpeter/ocpbugs-29750-olm-fixup-crd-for-4.15
OPCBUGS#29750: Fixup the YAML in the example CRD for OCP 4.15
2 parents d6085e7 + 911eea7 commit bf8dc87

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

modules/crd-creating-crds.adoc

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,22 @@ metadata:
2828
spec:
2929
group: stable.example.com <3>
3030
versions:
31-
name: v1 <4>
31+
- name: v1 <4>
32+
served: true
33+
storage: true
34+
schema:
35+
openAPIV3Schema:
36+
type: object
37+
properties:
38+
spec:
39+
type: object
40+
properties:
41+
cronSpec:
42+
type: string
43+
image:
44+
type: string
45+
replicas:
46+
type: integer
3247
scope: Namespaced <5>
3348
names:
3449
plural: crontabs <6>

0 commit comments

Comments
 (0)