controller: skip copying selector annotations from deployments

This commit is contained in:
Michail Kargakis 2016-08-29 17:51:05 +02:00
parent 8675adf138
commit baa0c6d9de

View File

@ -125,6 +125,8 @@ var annotationsToSkip = map[string]bool{
RevisionAnnotation: true,
DesiredReplicasAnnotation: true,
MaxReplicasAnnotation: true,
OverlapAnnotation: true,
SelectorUpdateAnnotation: true,
}
// skipCopyAnnotation returns true if we should skip copying the annotation with the given annotation key