Provisioning: Hide HistoricJobs from OpenAPI spec (#109454)
histtoric jobs
This commit is contained in:
@@ -236,7 +236,11 @@ type JobResourceSummary struct {
|
||||
Errors []string `json:"errors,omitempty"`
|
||||
}
|
||||
|
||||
// HistoricJob is a history entry of Job. It is used to store Jobs that have been processed.
|
||||
// HistoricJob is an append only log, saving all jobs that have been processed.
|
||||
//
|
||||
// NOTE: This should not be used directly by any external consumer.
|
||||
// When there is a more stable integration with loki (an appropriate append only store)
|
||||
// this may be removed without notice.
|
||||
//
|
||||
// The repository name and type are stored as labels.
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
@@ -608,7 +608,7 @@ func schema_pkg_apis_provisioning_v0alpha1_HistoricJob(ref common.ReferenceCallb
|
||||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "HistoricJob is a history entry of Job. It is used to store Jobs that have been processed.\n\nThe repository name and type are stored as labels.",
|
||||
Description: "HistoricJob is an append only log, saving all jobs that have been processed.\n\nNOTE: This should not be used directly by any external consumer. When there is a more stable integration with loki (an appropriate append only store) this may be removed without notice.\n\nThe repository name and type are stored as labels.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"kind": {
|
||||
|
||||
Reference in New Issue
Block a user