remove statefulset label added to wrong branch
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user