Skip to content

Commit 98d2805

Browse files
authored
Merge pull request #178 from carlossg/issue-177
Fix #177 Do not copy labels from canary to primary deployment
2 parents 1546345 + 24a74d3 commit 98d2805

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/canary/deployer.go

-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ func (c *Deployer) createPrimaryDeployment(cd *flaggerv1.Canary) (string, error)
214214
primaryDep = &appsv1.Deployment{
215215
ObjectMeta: metav1.ObjectMeta{
216216
Name: primaryName,
217-
Labels: canaryDep.Labels,
218217
Namespace: cd.Namespace,
219218
OwnerReferences: []metav1.OwnerReference{
220219
*metav1.NewControllerRef(cd, schema.GroupVersionKind{

0 commit comments

Comments
 (0)