Fix #177 Do not copy labels from canary to primary deployment

This commit is contained in:
Carlos Sanchez
2019-05-11 13:42:08 +02:00
parent 15463456ec
commit 24a74d3589
-1
View File
@@ -214,7 +214,6 @@ func (c *Deployer) createPrimaryDeployment(cd *flaggerv1.Canary) (string, error)
primaryDep = &appsv1.Deployment{
ObjectMeta: metav1.ObjectMeta{
Name: primaryName,
Labels: canaryDep.Labels,
Namespace: cd.Namespace,
OwnerReferences: []metav1.OwnerReference{
*metav1.NewControllerRef(cd, schema.GroupVersionKind{