mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +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,
|
Name: completionIndexEnvName,
|
||||||
ValueFrom: &v1.EnvVarSource{
|
ValueFrom: &v1.EnvVarSource{
|
||||||
FieldRef: &v1.ObjectFieldSelector{
|
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"
|
DeprecatedRollbackTo = "deprecated.deployment.rollback.to"
|
||||||
DeprecatedTemplateGeneration = "deprecated.daemonset.template.generation"
|
DeprecatedTemplateGeneration = "deprecated.daemonset.template.generation"
|
||||||
StatefulSetPodNameLabel = "statefulset.kubernetes.io/pod-name"
|
StatefulSetPodNameLabel = "statefulset.kubernetes.io/pod-name"
|
||||||
StatefulSetPodIndexLabel = "statefulset.kubernetes.io/pod-index"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient
|
// +genclient
|
||||||
|
Loading…
Reference in New Issue
Block a user