mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
remove statefulset label added to wrong branch
This commit is contained in:
parent
1ae60c0ed1
commit
a1a5f49bb9
@ -298,7 +298,7 @@ func addCompletionIndexEnvVariable(container *v1.Container) {
|
||||
Name: completionIndexEnvName,
|
||||
ValueFrom: &v1.EnvVarSource{
|
||||
FieldRef: &v1.ObjectFieldSelector{
|
||||
FieldPath: fmt.Sprintf("metadata.annotations['%s']", batch.JobCompletionIndexAnnotation),
|
||||
FieldPath: fmt.Sprintf("metadata.labels['%s']", batch.JobCompletionIndexAnnotation),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
@ -29,7 +29,6 @@ const (
|
||||
DeprecatedRollbackTo = "deprecated.deployment.rollback.to"
|
||||
DeprecatedTemplateGeneration = "deprecated.daemonset.template.generation"
|
||||
StatefulSetPodNameLabel = "statefulset.kubernetes.io/pod-name"
|
||||
StatefulSetPodIndexLabel = "statefulset.kubernetes.io/pod-index"
|
||||
)
|
||||
|
||||
// +genclient
|
||||
|
Loading…
Reference in New Issue
Block a user