Skip to content
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

[Federation][kubefed]: Add support for etcd image override #46247

Merged

Conversation

marun
Copy link
Contributor

@marun marun commented May 22, 2017

This PR adds support for overriding the default etcd image used by kubefed init by providing an argument to --etcd-image. This is primarily intended to allow consumers like openshift to provide a different default, but as a nice side-effect supports code-free validation of non-default etcd images.

Release note:

'kubefed init' now supports overriding the default etcd image name with the --etcd-image parameter.

cc: @kubernetes/sig-federation-pr-reviews

@k8s-ci-robot k8s-ci-robot added sig/federation cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 22, 2017
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels May 22, 2017
@@ -207,6 +208,8 @@ func TestInitFederation(t *testing.T) {
},
}

etcdImage := "gcr.io/google_containers/etcd:3.0.17"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have a test? It looks like you added the field to the struct but didn't add a test case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@marun marun force-pushed the fed-override-etcd-default-image branch from 1c47bce to d5998fb Compare May 22, 2017 22:15
@marun marun force-pushed the fed-override-etcd-default-image branch from d5998fb to 080d108 Compare May 22, 2017 22:16
@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented May 22, 2017

@marun: The following test(s) failed:

Test name Commit Details Rerun command
pull-kubernetes-federation-e2e-gce 080d108 link @k8s-bot pull-kubernetes-federation-e2e-gce test this

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@perotinus
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 22, 2017
@csbell
Copy link
Contributor

csbell commented May 22, 2017

/lgtm

@madhusudancs
Copy link
Contributor

/approve

@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csbell, madhusudancs, marun, perotinus

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 46201, 45952, 45427, 46247, 46062)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants