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

parent 7e96fc66
...@@ -63113,7 +63113,7 @@ ...@@ -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 @@ ...@@ -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"
}, },
...@@ -1497,12 +1497,12 @@ ...@@ -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."
} }
} }
}, },
......
...@@ -3428,14 +3428,14 @@ When an object is created, the system will populate this list with the current s ...@@ -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>
......
...@@ -85,11 +85,13 @@ message CronJobSpec { ...@@ -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;
} }
......
...@@ -55,8 +55,8 @@ var map_CronJobSpec = map[string]string{ ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment