Provisioning: Require a name in the saved resource (#103309)
This commit is contained in:
@@ -126,17 +126,11 @@ type ExportJobOptions struct {
|
||||
|
||||
// Prefix in target file system
|
||||
Path string `json:"path,omitempty"`
|
||||
|
||||
// Include the identifier in the exported metadata
|
||||
Identifier bool `json:"identifier"`
|
||||
}
|
||||
|
||||
type MigrateJobOptions struct {
|
||||
// Preserve history (if possible)
|
||||
History bool `json:"history,omitempty"`
|
||||
|
||||
// Include the identifier in the exported metadata
|
||||
Identifier bool `json:"identifier"`
|
||||
}
|
||||
|
||||
// The job status
|
||||
|
||||
@@ -117,16 +117,7 @@ func schema_pkg_apis_provisioning_v0alpha1_ExportJobOptions(ref common.Reference
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"identifier": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Include the identifier in the exported metadata",
|
||||
Default: false,
|
||||
Type: []string{"boolean"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"identifier"},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -918,16 +909,7 @@ func schema_pkg_apis_provisioning_v0alpha1_MigrateJobOptions(ref common.Referenc
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"identifier": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Include the identifier in the exported metadata",
|
||||
Default: false,
|
||||
Type: []string{"boolean"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"identifier"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user