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

Pass options from K8s::Client.in_cluster_config to Transport #88

Merged
merged 4 commits into from
Jan 7, 2019

Conversation

kke
Copy link
Contributor

@kke kke commented Jan 7, 2019

Enables K8s::Client.in_cluster_config(ssl_ca_file: '/tmp/xxx', auth_token: "abcd") or adding other transport options.

@kke kke added bug Something isn't working enhancement New feature or request labels Jan 7, 2019
@kke kke changed the title Pass options from K8s::Client.in_cluster_config pass options to Transport Pass options from K8s::Client.in_cluster_config to Transport Jan 7, 2019
@@ -47,8 +47,8 @@ def self.config(config, namespace: nil, **options)
# @param namespace [String] default namespace for all operations
# @return [K8s::Client]
# @raise [K8s::Error::Config,Errno::ENOENT,Errno::EACCES]
def self.in_cluster_config(namespace: nil)
new(Transport.in_cluster_config, namespace: namespace)
def self.in_cluster_config(namespace: nil, **options)
Copy link
Contributor

Choose a reason for hiding this comment

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

Yardoc missing

@kke kke merged commit e94fd9b into master Jan 7, 2019
@kke kke deleted the fix/pass_options branch January 7, 2019 11:32
@kke kke mentioned this pull request Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants