Clean up Deployment overlap annotation code

This commit is contained in:
Haoran Wang
2017-06-15 14:42:20 +08:00
parent 7831a5426f
commit f732e4baae
5 changed files with 0 additions and 57 deletions

View File

@@ -65,11 +65,6 @@ const (
RollbackTemplateUnchanged = "DeploymentRollbackTemplateUnchanged"
// RollbackDone is the done rollback event reason
RollbackDone = "DeploymentRollback"
// OverlapAnnotation marks deployments with overlapping selector with other deployments
// TODO: Delete this annotation when we no longer need to support a client
// talking to a server older than v1.6.
OverlapAnnotation = "deployment.kubernetes.io/error-selector-overlapping-with"
// Reasons for deployment conditions
//
// Progressing:
@@ -289,7 +284,6 @@ var annotationsToSkip = map[string]bool{
RevisionHistoryAnnotation: true,
DesiredReplicasAnnotation: true,
MaxReplicasAnnotation: true,
OverlapAnnotation: true,
}
// skipCopyAnnotation returns true if we should skip copying the annotation with the given annotation key