-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New metering labels #679
New metering labels #679
Conversation
Skipping CI for Draft Pull Request. |
e066ade
to
1c6e6c7
Compare
1c6e6c7
to
a579653
Compare
a579653
to
9c460cb
Compare
ready for review @miguelsorianod |
return reconcile.Result{Requeue: updated}, nil | ||
} | ||
|
||
func (u *UpgradeApiManager) ensurePodTemplateLabels(desired *appsv1.DeploymentConfig) (bool, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this changes here we will ensure new labels are added, but the old labels will still be there. Should we clean them too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added procedure to remove old labels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will need to be reused in future 3scale versions, without the part that removes the old metering labels. If you want you can add a comment to remember to delete that part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments. Overall it looks good 👍
af08577
to
20dfcf8
Compare
adb8817
to
7f9d9a1
Compare
7f9d9a1
to
5a7d2a8
Compare
/retest |
control-plane: controller-manager | ||
rht.comp: 3scale | ||
rht.comp_ver: master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to be careful when preparing the 2.12 candidate and stable branches about this value too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a minor comment. Looks good to me
Code Climate has analyzed commit 1447c1c and detected 5 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
https://issues.redhat.com/browse/THREESCALE-7750
Spec doc: https://docs.google.com/document/d/1bd9VnZ9jKwDBOOKAJltAtvhz3COUYYmRe3-BGE6fDGE/edit#bookmark=id.27cia5h5kj9j
example of one pod