From baa0c6d9dead8aac80b26cb0a612f6c61d509002 Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Mon, 29 Aug 2016 17:51:05 +0200 Subject: [PATCH] controller: skip copying selector annotations from deployments --- pkg/controller/deployment/util/deployment_util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/controller/deployment/util/deployment_util.go b/pkg/controller/deployment/util/deployment_util.go index 64ed4454ca7..8a92033728e 100644 --- a/pkg/controller/deployment/util/deployment_util.go +++ b/pkg/controller/deployment/util/deployment_util.go @@ -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