Skip to content

Conversation

@brendandburns
Copy link
Contributor

@drubin

Closes #265

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 7, 2019
@k8s-ci-robot k8s-ci-robot requested review from drubin and mbohlool June 7, 2019 00:15
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns

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 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 Jun 7, 2019
});
});

describe('load from multi $KUBECONFIG', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

@brendanburns as you mentioned the error handling/semantics of this are a bit vague.

I think maybe we should add a few tests for errors here so when we eventually fix bugs/change things we can be sure not to change unintended side effects

  1. Duplicate context's
  2. Duplicate users's
  3. Duplicate clusters's
  4. Requiring all the config files are in the same root directory (why is this even a thing?)

I guess as a side effect we add tests for the public API's we are adding, requiring

- name: userC
user:
username: foo
password: bar No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing newline at end of the file.

@drubin
Copy link
Contributor

drubin commented Jun 10, 2019

Sorry for the delay it appears like github didn't submit my review.

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 11, 2019
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 11, 2019
@brendandburns
Copy link
Contributor Author

Comments addressed.

@drubin
Copy link
Contributor

drubin commented Jun 13, 2019

/lgtm

I am not sure if we should wait to stabilize the refactorings or push a release with this. (it feels like this is a much-requested feature and it might be good to get feedback?

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2019
@k8s-ci-robot k8s-ci-robot merged commit e9b786c into kubernetes-client:master Jun 13, 2019
@brendandburns brendandburns deleted the auth branch July 8, 2020 19:12
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiple files in KUBECONFIG env variable

3 participants