-
Notifications
You must be signed in to change notification settings - Fork 241
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
Bump versions to 1.16 #336
Bump versions to 1.16 #336
Conversation
3321e7c
to
465d50c
Compare
1aa4d03
to
e490b9b
Compare
e490b9b
to
b7dbb66
Compare
Gopkg.toml
Outdated
# revision for tag "kubernetes-1.12.3" | ||
revision = "3dcf91f64f638563e5106f21f50c31fa361c918d" | ||
# revision for tag "kubernetes-1.16.0" | ||
revision = "cd179ad6a2693011d6f2fa5cd64c6680ee99379f" |
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.
@squeed why did we do it this way rather than just doing version = "kubernetes-1.16.0"
?
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.
Cargo cullted from a long time ago. As I recall, client-go didn't used to tag k8s versions.
We can almost certainly switch to more meaningful tags now.
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 support the idea of switching to tags, way more human readable. Can amend later once I sort out CI issues
@@ -124,7 +124,7 @@ func (r *ReconcileConfigMapInjector) Reconcile(request reconcile.Request) (recon | |||
|
|||
configMapList := &corev1.ConfigMapList{} | |||
selector := labels.Set(map[string]string{names.TRUSTED_CA_BUNDLE_CONFIGMAP_LABEL: "true"}).AsSelector() | |||
err = r.client.List(context.TODO(), &client.ListOptions{LabelSelector: selector}, configMapList) | |||
err = r.client.List(context.TODO(), configMapList, &client.ListOptions{LabelSelector: selector}) |
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.
what!?!? did they seriously change the Client interface? Or was this a bug?
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.
unsure when, but yeah, interface has the target obj first, filter second. From what I can see it's been like that a couple releases
b7dbb66
to
dcfea52
Compare
dcfea52
to
dec2850
Compare
[[override]] | ||
name = "k8s.io/code-generator" | ||
# revision for tag "kubernetes-1.12.3" | ||
revision = "3dcf91f64f638563e5106f21f50c31fa361c918d" | ||
# revision for tag "kubernetes-1.16.0" |
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 would say we can get rid of these comments :-)
@rcarrillocruz I'll approve this to unblock others, but can you file a follow-up PR that addresses @danwinship's comment around |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rcarrillocruz, squeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.