Update defaults (successful|failed)JobsHistoryLimit in batch/v1beta1 - generated changes

This commit is contained in:
Maciej Szulik 2017-09-15 12:36:14 +02:00
parent 7e96fc66e1
commit eade908246
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
5 changed files with 10 additions and 8 deletions

View File

@ -63113,7 +63113,7 @@
"type": "string" "type": "string"
}, },
"failedJobsHistoryLimit": { "failedJobsHistoryLimit": {
"description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.",
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
}, },
@ -63131,7 +63131,7 @@
"format": "int64" "format": "int64"
}, },
"successfulJobsHistoryLimit": { "successfulJobsHistoryLimit": {
"description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.",
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
}, },

View File

@ -1497,12 +1497,12 @@
"successfulJobsHistoryLimit": { "successfulJobsHistoryLimit": {
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."
}, },
"failedJobsHistoryLimit": { "failedJobsHistoryLimit": {
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified." "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."
} }
} }
}, },

View File

@ -3428,14 +3428,14 @@ When an object is created, the system will populate this list with the current s
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">successfulJobsHistoryLimit</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">successfulJobsHistoryLimit</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>
</tr> </tr>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">failedJobsHistoryLimit</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">failedJobsHistoryLimit</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>

View File

@ -85,11 +85,13 @@ message CronJobSpec {
// The number of successful finished jobs to retain. // The number of successful finished jobs to retain.
// This is a pointer to distinguish between explicit zero and not specified. // This is a pointer to distinguish between explicit zero and not specified.
// Defaults to 3.
// +optional // +optional
optional int32 successfulJobsHistoryLimit = 6; optional int32 successfulJobsHistoryLimit = 6;
// The number of failed finished jobs to retain. // The number of failed finished jobs to retain.
// This is a pointer to distinguish between explicit zero and not specified. // This is a pointer to distinguish between explicit zero and not specified.
// Defaults to 1.
// +optional // +optional
optional int32 failedJobsHistoryLimit = 7; optional int32 failedJobsHistoryLimit = 7;
} }

View File

@ -55,8 +55,8 @@ var map_CronJobSpec = map[string]string{
"concurrencyPolicy": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.", "concurrencyPolicy": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.",
"suspend": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", "suspend": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.",
"jobTemplate": "Specifies the job that will be created when executing a CronJob.", "jobTemplate": "Specifies the job that will be created when executing a CronJob.",
"successfulJobsHistoryLimit": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "successfulJobsHistoryLimit": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.",
"failedJobsHistoryLimit": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "failedJobsHistoryLimit": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.",
} }
func (CronJobSpec) SwaggerDoc() map[string]string { func (CronJobSpec) SwaggerDoc() map[string]string {