diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index ddc33b0824c..eb0525fa938 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -43326,7 +43326,7 @@ ], "properties": { "concurrencyPolicy": { - "description": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job.", + "description": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.", "type": "string" }, "failedJobsHistoryLimit": { diff --git a/api/swagger-spec/batch_v2alpha1.json b/api/swagger-spec/batch_v2alpha1.json index 5c0ef198b94..22b693c4bd5 100644 --- a/api/swagger-spec/batch_v2alpha1.json +++ b/api/swagger-spec/batch_v2alpha1.json @@ -2186,7 +2186,7 @@ }, "concurrencyPolicy": { "type": "string", - "description": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job." + "description": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow." }, "suspend": { "type": "boolean", diff --git a/docs/api-reference/batch/v2alpha1/definitions.html b/docs/api-reference/batch/v2alpha1/definitions.html index 3a9a2d59ce8..525eeb8bd30 100755 --- a/docs/api-reference/batch/v2alpha1/definitions.html +++ b/docs/api-reference/batch/v2alpha1/definitions.html @@ -3720,7 +3720,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

concurrencyPolicy

-

ConcurrencyPolicy specifies how to treat concurrent executions of a Job.

+

ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.

false

string

@@ -5629,7 +5629,7 @@ Examples:
diff --git a/pkg/apis/batch/v2alpha1/generated.proto b/pkg/apis/batch/v2alpha1/generated.proto index 4f51d6161ac..605dafe3875 100644 --- a/pkg/apis/batch/v2alpha1/generated.proto +++ b/pkg/apis/batch/v2alpha1/generated.proto @@ -72,6 +72,7 @@ message CronJobSpec { optional int64 startingDeadlineSeconds = 2; // ConcurrencyPolicy specifies how to treat concurrent executions of a Job. + // Defaults to Allow. // +optional optional string concurrencyPolicy = 3; diff --git a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go index c0b53b8e029..dc4ff64c8e2 100644 --- a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go @@ -52,7 +52,7 @@ var map_CronJobSpec = map[string]string{ "": "CronJobSpec describes how the job execution will look like and when it will actually run.", "schedule": "Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", "startingDeadlineSeconds": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "concurrencyPolicy": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job.", + "concurrencyPolicy": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.", "suspend": "Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", "jobTemplate": "JobTemplate is the object that describes 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.", diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index fa4624bbf68..c72088f58b1 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -12399,7 +12399,7 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope }, "concurrencyPolicy": { SchemaProps: spec.SchemaProps{ - Description: "ConcurrencyPolicy specifies how to treat concurrent executions of a Job.", + Description: "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.", Type: []string{"string"}, Format: "", },