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

[GCE] Use the cluster configuration from config-test.sh #96

Merged
merged 2 commits into from
Feb 27, 2021

Conversation

amwat
Copy link
Contributor

@amwat amwat commented Feb 27, 2021

Explicitly set KUBE_CONFIG_FILE=config-test.sh similar to kubetest (https://github.com/kubernetes/test-infra/blob/d18ba04e55424699d33a47a066e4883b398c2a27/kubetest/e2e.go#L63)

This is where standard configurations specifically for end-to-end test clusters using kube-up are set.

fixes: kubernetes/kubernetes#99480

xref: kubernetes/enhancements#2464

/cc @BenTheElder @liggitt

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 27, 2021
Copy link
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@@ -170,6 +162,16 @@ func (d *deployer) buildEnv() []string {
// used by the cluster/ scripts
env = append(env, fmt.Sprintf("KUBECTL_PATH=%s", d.kubectlPath))

// KUBE_CONFIG_FILE determines the file to use for setting up configuration for the cluster
Copy link
Member

Choose a reason for hiding this comment

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

this name is still so unfortunate 🙃

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amwat, BenTheElder

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 27, 2021
@k8s-ci-robot k8s-ci-robot merged commit a964c23 into kubernetes-sigs:master Feb 27, 2021
@amwat amwat deleted the config-test branch February 27, 2021 01:06
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
3 participants