Skip to content

Commit b5fedc3

Browse files
authored
Merge pull request #1433 from Priyankasaggu11929/psaggufix_crd_yaml_manifest
Fix CustomResourceDefinition manifest yaml in custom_object.py example
2 parents e2aad06 + 68aeb30 commit b5fedc3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

examples/custom_object.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@
2929
- name: v1
3030
served: true
3131
storage: true
32+
schema:
33+
openAPIV3Schema:
34+
type: object
35+
properties:
36+
spec:
37+
type: object
38+
properties:
39+
cronSpec:
40+
type: string
41+
image:
42+
type: string
43+
replicas:
44+
type: integer
3245
scope: Namespaced
3346
names:
3447
plural: crontabs

0 commit comments

Comments
 (0)