Skip to content

Commit

Permalink
Merge pull request #100147 from alculquicondor/indexed-annotation
Browse files Browse the repository at this point in the history
Rename job completion index annotation to not contain alpha
  • Loading branch information
k8s-ci-robot committed Mar 11, 2021
2 parents 7139f08 + ae0ac31 commit 6038755
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/batch/types.go
Expand Up @@ -178,7 +178,7 @@ type JobSpec struct {
//
// `Indexed` means that the Pods of a
// Job get an associated completion index from 0 to (.spec.completions - 1),
// available in the annotation batch.alpha.kubernetes.io/job-completion-index.
// available in the annotation batch.kubernetes.io/job-completion-index.
// The Job is considered complete when there is one successfully completed Pod
// for each index.
// When value is `Indexed`, .spec.completions must be specified and
Expand Down
2 changes: 1 addition & 1 deletion staging/src/k8s.io/api/batch/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions staging/src/k8s.io/api/batch/v1/types.go
Expand Up @@ -21,7 +21,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

const JobCompletionIndexAnnotationAlpha = "batch.alpha.kubernetes.io/job-completion-index"
const JobCompletionIndexAnnotationAlpha = "batch.kubernetes.io/job-completion-index"

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down Expand Up @@ -157,7 +157,7 @@ type JobSpec struct {
//
// `Indexed` means that the Pods of a
// Job get an associated completion index from 0 to (.spec.completions - 1),
// available in the annotation batch.alpha.kubernetes.io/job-completion-index.
// available in the annotation batch.kubernetes.io/job-completion-index.
// The Job is considered complete when there is one successfully completed Pod
// for each index.
// When value is `Indexed`, .spec.completions must be specified and
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6038755

Please sign in to comment.