We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20fb50 commit 3f2584aCopy full SHA for 3f2584a
test/crds/backup.go
@@ -28,6 +28,11 @@ type Backup struct {
28
}
29
30
type BackupSpec struct {
31
- Source string `json:"source"`
32
- Destination string `json:"destination"`
+ Source string `json:"source"`
+ Destination string `json:"destination"`
33
+ Items []BackupItem `json:"items,omitempty"`
34
+}
35
+
36
+type BackupItem struct {
37
+ Name string `json:"name"`
38
test/crds/backup.yaml
@@ -25,3 +25,10 @@ spec:
25
type: string
26
destination:
27
+ items:
+ type: array
+ type: object
+ properties:
+ name:
+ type: string
0 commit comments