-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
etcd: introduce field to specify whether we are using etcd-manager or legacy mode #5820
etcd: introduce field to specify whether we are using etcd-manager or legacy mode #5820
Conversation
d6d80c8
to
5170bed
Compare
/retest |
5170bed
to
33e1288
Compare
/test pull-kops-e2e-kubernetes-aws |
/test pull-kops-e2e-kubernetes-aws |
This (hopefully) just needs mapping of the hot-off-the-presses 3.2.24, which I'm working on here: kopeio/etcd-manager#128 |
…y mode Splitting this out from the bigger bundle PR
33e1288
to
54c499f
Compare
Updated etcd-manager image and this is now passing tests :-) |
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.
One nit pick
pkg/model/components/etcd.go
Outdated
if c.Version == "" && c.Provider == kops.EtcdProviderTypeLegacy { | ||
// Even if in legacy mode, etcd version 2 is unsupported as of k8s 1.13 | ||
if b.IsKubernetesGTE("1.13") { | ||
c.Version = "3.2.24" |
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.
Should we make this another const to follow the same pattern as etcd2
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.
Good idea - done!
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrislovecnm, justinsb 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 |
Splitting this out from the bigger bundle PR